site/node_modules/remark/index.js

11 lines
341 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
// Note: types exposed from `index.d.ts`
import remarkParse from 'remark-parse'
import remarkStringify from 'remark-stringify'
import {unified} from 'unified'
/**
* Create a new unified processor that already uses `remark-parse` and
* `remark-stringify`.
*/
export const remark = unified().use(remarkParse).use(remarkStringify).freeze()