UNPKG

330 BTypeScriptView Raw
1/// <reference types="remark-parse" />
2/// <reference types="remark-stringify" />
3
4import type {Root} from 'mdast'
5import type {Processor} from 'unified'
6
7/**
8 * Create a new unified processor that already uses `remark-parse` and
9 * `remark-stringify`.
10 */
11export const remark: Processor<Root, undefined, undefined, Root, string>