@saartje87/md-ast
v0.6.1
Published
Markdown parser
Downloads
5
Readme
markdown-parser
Install
yarn add @saartje87/md-ast
Usage
import { parseMarkdown } from '@saartje87/md-ast';
const ast = parseMarkdown('# Hello World');
Configuration
GitHub Flavored Markdown
import { parseMarkdown, GFM } from '@saartje87/md-ast';
const ast = parseMarkdown('# Hello World', {
presets: [GFM()],
});