markthat

0.2.0 • Public • Published

Markthat

A module that parses markdown into html

Build Status Code Coverage

Installation:

npm install markthat

Usage:

Single line:

const markthat = require('markthat');
 
markthat.markthat('**Bold**');
 
//returns as: <strong>Bold</strong>

Whole file:

const markthat = require('markthat');
 
markthat.markthatFile('./README.md').then(thefile => {
    console.log(thefile); //thefile is the parsed markdown
    //do whatever you want with the parsed markdown
});

Package Sidebar

Install

npm i markthat

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

5.42 kB

Total Files

5

Last publish

Collaborators

  • talon4567