slimdown

Nim module that converts Markdown text to HTML using only regular expressions. Based on jbroadway's Slimdown.

Readme

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>
Need help? Read Nimble
Author:
ruivieira
Available versions:
License: MIT

Project website Hosted docs