Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.35 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.35 KB

Styledown Elixir

Build Status Hex.pm

Elixir integration of Styledown

Installation

def deps do
  [{:styledown, "~> 0.0.3"}]
end

Usage

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")

Documentation

The documentation is available online and within the Styledown module. To build the docs locally:

$ MIX_ENV=docs mix docs

Contributing

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

License

Copyright 2016, Victor Solis. Released under the MIT license.