Cmark
Elixir NIF for libcmark, a parser library following the CommonMark spec.
Install
Prerequisites
You need a C compiler like gcc
or clang
.
mix.exs
{ :cmark, "~> 0.4" }
Usage
Cmark.to_html "a markdown string"
#=> "<p>a markdown string</p>\n"