@geut/remark-chan
v3.2.6
Published
Parser mdast to chast
Downloads
4,075
Keywords
Readme
remark-chan
A unified plugin to convert from mdast to chast
Note
Since v3.0 this plugin is ESM only.
Install
npm install @geut/remark-chan
Use
import unified from 'unified'
import markdown from 'remark-parse'
import { remarkToChan } from '@geut/remark-chan'
unified()
.use(markdown)
.use(remarkToChan)
//.. more plugins
API
origin.use(remarkToChan)
Plugin to convert from mdast to chast.