Skip to content

Latest commit

 

History

History

remark-chan

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.