/remarkdown

This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.

Primary LanguageCrystalMIT LicenseMIT

Remarkdown

Build status

This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.

Features

  • Built on Crystal stdlib Markdown to implement like Markdown GFM.
  • space_after_headers - # Hello not #Hello
  • Add id attribute for Heading <h1 id="hello-world">Hello world</h1>.
  • strikethrough : ~~Foo~~ to <del>Foo</del>

Installation

Add this to your application's shard.yml:

dependencies:
  remarkdown:
    github: huacnlee/remarkdown

Usage

require "remarkdown"

Remarkdown.to_html("Hello **world**")