Michaël Van Canneyt 200a10a187 * Fix memleaks il y a 10 heures
..
demo 200a10a187 * Fix memleaks il y a 10 heures
src ab24a234e6 * Add some utility functions, avoid boilerplate code il y a 10 heures
tests a468784364 * LaTeX renderer for markdown il y a 1 jour
tools 247d777d5e * Initial markdown parser il y a 3 mois
Makefile 247d777d5e * Initial markdown parser il y a 3 mois
README.md 247d777d5e * Initial markdown parser il y a 3 mois
fpmake.pp a468784364 * LaTeX renderer for markdown il y a 1 jour

README.md

This directory contains an extensible markdown parser.

Extensible means 2 things:

  • You can add new block types by simply registering a processor for it. You can also override a block type's parser to provide custom behaviour.

  • You can render the markdown to whatever format you want. By default, rendering to html and fpdoc are supported. (LaTeX still planned)

Both renderers are demoed in the demo directory.

While the commonmark spec has been used in the implementation, the parser makes no pretence at being fully commonmark compliant.

In particular, it should parse whatever commonmark defines, but the html output may not be 100% the same, as the commonmark spec is overly pedantic where it concerns whitespace usage in the output. (although patches to improve the output are welcome)