No description
Find a file
2018-05-27 18:11:10 +01:00
.gitignore First commit 2016-07-24 15:24:50 +01:00
.travis.yml Build Nim on Travis 2018-05-27 18:03:50 +01:00
LICENSE Initial commit 2016-07-24 15:22:13 +01:00
README.md Add build status badge to README.md 2018-05-27 18:08:58 +01:00
slimdown.nim fix #1 2016-08-20 01:25:37 +03:00
slimdown.nimble First commit 2016-07-24 15:24:50 +01:00

Build Status

nim-slimdown

About

A simple pattern-based markdown parser based on Johnny Broadway's (johnny@johnnybroadway.com) PHP Slimdown.

Building

Clone and run:

nimble build
nimble install

Usage

import slimdown

let markdown = """
# Examples

##Bold

This is a markdown *example*
"""

let html = slimdown.md(markdown)

# <h1>Examples</h1>
#
# <h2>Bold</h2>
#
# This is a markdown <em>example</em>