gfm.macro
GitHub Flavored Markdown Babel macro converts Markdown to JSX at compile time using the cmark-gfm C library.
Installation
yarn add gfm.macro babel-plugin-macros
Add macros to your Babel configuration:
Usage
const jsx = gfm`GitHub Flavored Markdown===` const withOptions =
Options
The default options are as follows:
const defaultOptions = react: true extensions: table: true tasklist: true