Skip to content

Latest commit

 

History

History

chan-stringify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

chan-stringify

Plugin to compile chast to a keepachangelog markdown.

Note

Since v3.0 this plugin is ESM only.

Install

npm install @geut/chan-stringify

Use

import unified from 'unified'
import markdown from 'remark-parse'
import { remarkToChan } from '@geut/remark-chan'
import { stringify } from '@geut/chan-stringify'

unified()
  .use(markdown)
  .use(remarkToChan)
  //.. more plugins
  .use(stringify)

API

origin.use(stringify[, destination][, options])