Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 566 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 566 Bytes

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])