cmarker
This is Pablo's fork of ocaml-cmark, originally by Jonathan Chan. I had
need of the unsafe
flag for my static site generator, and hadn't
heard back, so I forked it. I may expand to include functions for "examining,
modifying, and iterating over node data" which the original README says
"shouldn't be hard to do, just tedious."
Since I'm not officially a new maintainer, I'm calling this one cmarker
until
I hear back 😛
Differences
- Builds with Dune, formats with ocamlformat, because it's what I know.
- Includes the Unsafe flag for parsing, since I need it for my blog.
Many thanks to jyc for the initial version.
ocaml-cmark
ocaml-cmark is an OCaml interface for the cmark CommonMark parsing and rendering library.
Before installing this, you must install cmark.
What's Implemented
All the parsing and rendering functions should be implemented.
The interface is listed in src/cmark.mli
.