0.0.1 • Published 7 years ago
signalwerk.documentation.md v0.0.1
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);