devinus / markdown

A simple Elixir Markdown to HTML conversion library
The Unlicense
87 stars 19 forks source link

Markdown

A simple Elixir Markdown to HTML conversion library.

Implemented entirely as a NIF binding to the Hoedown library.

Usage

iex> Markdown.to_html "# Hello World"
"<h1>Hello World</h1>\n"
iex> Markdown.to_html "http://elixir-lang.org/", autolink: true
"<p><a href=\"http://elixir-lang.org/\">http://elixir-lang.org/</a></p>\n"

Options

TODO