Discount.ex 
Elixir NIF for discount, a Markdown parser (GH: Orc/discount).
Add dependency (with hex)
defp deps do
[
{ :discount, "~> 0.6.0" }
]
end
Test
make test
Use
make
iex -S mix
Discount.to_html "## markdown string"
#=> "<h2>markdown string</h2>"
# Alternatively pass the compiled document to a function:
Discount.to_html "## markdown string", my_callback_function_taking_one_argument
See test examples for more detailed usage.
License
Copyright (c) 2013—2014 Christoph Grabo