All Projects → devinus → markdown

devinus / markdown

Licence: Unlicense license
A simple Elixir Markdown to HTML conversion library

Programming Languages

c
50402 projects - #5 most used programming language
elixir
2628 projects
Makefile
30231 projects

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

  • :tables - Enables Markdown Extra style tables (default: false)
  • :fenced_code - Enables fenced code blocks (default: false)
  • :autolink - Automatically turn URLs into links (default: false)

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].