Cmark
Elixir NIF for CommonMark (in C), a parser following the CommonMark spec.
Install
Prerequisites
You need make (mostly present), cmake and re2c (both are not present in default system setups).
If you want to run the specs, also perl needs to be installed.
mix.exs
{ :cmark, "~> 0.2.0" }
Usage
Cmark.to_html "a markdown string"
#=> "<p>a markdown string</p>\n"