package cmarker
Install
Dune Dependency
Authors
Maintainers
Sources
md5=f0f55cf211f95beb3b61932fb50aaca4
sha512=db23078e35176edab5c13704414feb89a8d4885f73dc20e55a87ed9e346c5ae9c792c87c8c95033e9cc99c878b48598275cd9032ec139a67455caef94c067e66
README.md.html
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
.