antmicro / tuttest

A simple Python utility for extracting documentation snippets from tutorials.
Apache License 2.0
13 stars 2 forks source link

MyST markdown support #13

Open mgielda opened 3 years ago

mgielda commented 3 years ago

This should be easy via docutils.

mgielda commented 1 year ago

Seems like https://github.com/executablebooks/markdown-it-py is now the recommended CommonMark md parser, which we should use instead of our own trivial implementation (this could also enable us to use the code block info string to pass params, instead of the comments hack -- syntax TBD). Also, it's from the MyST folks, so should enable us to do MyST pretty seamlessly.