Skip to content

Instantly share code, notes, and snippets.

@jhlee8804
jhlee8804 / slimdown.js
Created June 9, 2018 16:42 — forked from renehamburger/slimdown.js
slimdown.js
'use strict';
/**
* Javascript version of https://gist.github.com/jbroadway/2836900
*
* Slimdown - A very basic regex-based Markdown parser. Supports the
* following elements (and can be extended via Slimdown::add_rule()):
*
* - Headers
* - Links