Minimal Markdown Parser In Pure JavaScript – Snarkdown

Category: Javascript , Recommended , Text | February 27, 2017
Authordevelopit
Last UpdateFebruary 27, 2017
LicenseMIT
Views1,057 views
Minimal Markdown Parser In Pure JavaScript – Snarkdown

Snarkdown is a simple, lightweight, fast markdown parser / editor which allows to transform Markdown into HTML, implemented in pure JavaScript.

Installation:

$ npm install snarkdown

How to use it:

Import the snarkdown into your project.

import snarkdown from 'snarkdown';

Define the markdown text in the snarkdown object.

let html = snarkdown('## Snarkdown');

Output the html:

console.log(html);

You Might Be Interested In:


Leave a Reply