From: Tommy F. <to...@la...> - 2017-12-20 18:10:50
|
Hello, I'm building a tool to convert markdown into runnable documentation and I came across your project. I'm currently using Mistune's BlockParser, because I don't want to convert to HTML, instead into a custom JSON format. I looked at your documentation for writing an extension; however, I was unsure if this would be the right path for me. Can you please advise? If so, would I want to use a Preprocessor/Postprocessor/InlinePattern/etc.? Here's an example of an input document: https://github.com/lastcoolnameleft/simdem2/blob/master/tests/test_parser.py#L25 Here's the expected output: https://github.com/lastcoolnameleft/simdem2/blob/master/tests/test_parser.py#L57 Thanks, -Tommy. |