cmark
cmark is the reference implementation of the CommonMark specification, written in the C programming language. It provides a Markdown parser that reads text, constructs an abstract syntax tree (AST), and can render the document to HTML. The library is designed to be small, portable, and straightforward to integrate into other software.
The API exposes a C interface for parsing Markdown into an AST and for rendering that AST
cmark is open-source and released under the BSD 3-Clause license. It was authored by John MacFarlane and
Ecosystem and usage: as the standard reference implementation, cmark is widely used as a building block in