1.0.7 • Published 9 months ago
postmark-md-renderer v1.0.7
Postmark
A GFM inspired Markdown parser for Node.JS.
Installation
npm install cyric2020/postmark
To make Postmark work properly you need to include the style.css
file in the head of the page.
Usage
const postmark = require('postmark');
const md = `
# Hello World
This is a paragraph.`;
const theme = 'atom-one-dark';
const html = postmark.parse(markdown, theme);
Themes
Postmark comes with a few themes built in, but you can also use any of the highlight.js themes.
Features
- Headings
- Paragraphs
- Bold
- Italic
- Strikethrough
- Code
- Syntax Highlighting
- Inline Code
- Blockquotes
- Lists
- LaTeX
- Tables