This is a direct Idris wrapper of jgm's cmark library, a C implementation of CommonMark.
WARNING: This baby never works the way you want it to. Basically you'll be eaten up by all the segmentation fault
things.
Installation:
$ git submodule init
$ git submodule update
$ make install
If you are lucky, you can get the provided demo running: (if you are not, you will get a segfault then!)
$ idris -p commonmark -o Demo Demo.idr
$ ./Demo > Demo.html