Elixir integration of Styledown
def deps do
[{:styledown, "~> 0.0.3"}]
end
iex> Styledown.parse("### hi")
"<section class=\"sg-block sg-section-hi\">\n <h3 id=\"hi\" class=\"sg\">hi</h3>\n</section>"
Path.wildcard("stylesheets/*.{css,md}")
|> Styledown.parse
|> File.write("styledown.html")
The documentation is available online and within the Styledown module. To build the docs locally:
$ MIX_ENV=docs mix docs
Any contribution is welcome and appreciated. Please check the issue tracker before submitting issues and pull requests. Please ensure that the tests are passing before submitting a pull request.
$ git clone https://github.com/styledown/styledown_ex
$ cd styledown_ex
$ mix deps.get
$ mix test
Copyright 2016, Victor Solis. Released under the MIT license.