Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - asaaki/cmark.ex: 💧 Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown.
💧 Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown. - asaaki/cmark.ex
Visit SiteGitHub - asaaki/cmark.ex: 💧 Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown.
💧 Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown. - asaaki/cmark.ex
Powered by 0x5a.live 💗
Cmark is an Elixir NIF for cmark (C), a parser library following the CommonMark spec.
CommonMark
A strongly defined, highly compatible specification of Markdown
For more information visit http://commonmark.org/.
Install
Prerequisites
You need a C compiler like gcc
or clang
.
mix.exs
Add this to your dependencies:
{:cmark, "~> 0.10"}
Usage
Cmark.to_html("a markdown string")
#=> "<p>a markdown string</p>\n"
It supports conversions to HTML, XML, Manpage, CommonMark, and Latex.
Latest API docs can be found at: http://hexdocs.pm/cmark/Cmark.html
Licenses
- Cmark.ex: LICENSE (MIT)
- cmark (C): c_src/COPYING (multiple)
Elixir Resources
are all listed below.
Made with ❤️
to provide different kinds of informations and resources.