0.0.1 • Published 7 years ago

signalwerk.documentation.md v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Introduction

This is basically a wrapper for markdown-it and many extensions.

Installation

npm install signalwerk.documentation.md --save

Use

import SignalwerkDocMd from 'signalwerk.documentation.md';

const md = `
# Heading 1
## Heading 2

Hello World!
`;
const html = new SignalwerkDocMd().render(md);
console.log(html);
fs.writeFileSync('./index.html', html);