cmark is the C reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec.