Skip to content

A simple Elixir Markdown to HTML conversion library

License

Notifications You must be signed in to change notification settings

hoedown/elixir-markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple Elixir Markdown to HTML conversion library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 46.7%
  • Elixir 40.2%
  • Makefile 13.1%