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"
Elixir NIF for libcmark, a parser library following the CommonMark spec.
You need a C compiler like gcc or clang.
{ :cmark, "~> 0.4" }
Cmark.to_html "a markdown string"
#=> "<p>a markdown string</p>\n"