0.1.0 • Published 9 years ago
snarky v0.1.0
Snarky
Extends
snarkdownand exposes a Promise APINOTE: Plugin support in upcoming release :tada:
Install
npm install --save snarkyor if you're using yarn,
yarn add snarkyUsage
const snarky = require('snarky');
snarky(`**bold text**`).then(html => {
console.log(html);
// <strong>bold text</strong>
})API
snarky(markdown)
Returns a Promise for HTML from parsed markdown
snarky.sync(markdown)
Returns HTML from parsed markdown
License
MIT © Yatharth Khatri
0.1.0
9 years ago