I’ve completely rewritten a Markdown parser and its corresponding HTML translator.
So far, so good. Most of the useful classical Markdown syntax is supported.
I’m almost done with this part. Writing a markdown engine is actually quite fun!
I’ve already succeeded in generating the G’MIC reference documentation with this new markdown engine (and it is faster than the one used before).
What remains to be done, is having markdown translators to ascii (for the command-line help) and to groff (manpage). But these should be easier than HTML.
When it’s done, I’ll explain how new reference pages can be written and added to the official doc.
It will be really more simple than what I proposed before. Basically, you’ll have to add a single file
My Page.gmd into the new
doc/ folder of
gmic-community, written in G’MIC-Markdown (usual markdown with some G’MIC-specific extensions). And this is it !
I hope everything will be fine during next week.