From: Yuri T. <qar...@gm...> - 2008-10-13 23:35:29
|
> Why not just make the InlineProcessor be one of the 'postprocessors' > and then extensions can add additional postprocessors either before or > after it as needed? Good point. If we then also get rid of the preprocessor/textpreprocessor distinction, we can just reduce it all to three: Preprocessor treap: HtmlBlock, Header, Line, Reference Treeprocessors treap: Inline Postprocessors treap: Prettify, RawHtml, AndSubstitute Extensions can then insert processors into one of those three treaps and also insert patterns into the inline processor. (Or they can replace InlineProcessor with their own.) - yuri -- http://sputnik.freewisdom.org/ |