cmark alternatives and similar packages
Based on the "Markdown" category.
Alternatively, view cmark alternatives based on common mentions on social networks and blogs.
-
Pandex
Lightweight Elixir wrapper for Pandoc. Convert Markdown, CommonMark, HTML, Latex... to HTML, HTML5, opendocument, rtf, texttile, asciidoc, markdown, json and others
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of cmark or a related project?
Popular Comparisons
README
[Cmark](./assets/cmark_ex_logo.png)
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.9"}
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)
*Note that all licence references and agreements mentioned in the cmark README section above
are relevant to that project's source code only.