Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Elixir NIF for discount, a Markdown parser
tag: 0.3.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
discount_src @ 274f412
lib
priv
src
test
.gitignore
.gitmodules
.travis.yml
LICENSE
Makefile
README.md
mix.exs
package.exs
package.head.exs

README.md

Discount.ex build status

expm.co/discount

Elixir NIF for discount, a Markdown parser (GH: Orc/discount).

Clone

git clone https://github.com/asaaki/discount.ex.git discount

Build and test

Run tests (will also build if not already done via make):

mix test

Run a IEx shell with library compiled and loaded:

iex -S mix
result = Discount.to_html "## markdown string"
# or
Discount.to_html "## markdown string", my_callback_function_taking_one_argument

See test examples for usage.

License

MIT/X11

Copyright (c) 2013 Christoph Grabo

Bitdeli Badge

Something went wrong with that request. Please try again.