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