From: Jake V. <ja...@gm...> - 2013-04-30 14:21:17
|
Hello, I'm trying to write an extension that will allow literal includes of files in markdown, and do syntax highlighting if they contain code. I managed to get a preprocessor working which takes a suitably-annotated filename, and replaces it with markdown which should then be interpreted by the codehilite extension. I was surprised, though, when I found that the output of my preprocessor is never processed by codehilite. It seems that codehilite is modifying the text *before* my preprocessor modifies it: is this the case? Is there any way to make sure a new extension preprocesses the document before sending the result to another extension? Thanks for any help, Jake |