UNPKG

rehype

Version:

HTML processor powered by plugins part of the unified collective

12 lines (9 loc) 329 B
/// <reference types="rehype-parse" /> /// <reference types="rehype-stringify" /> import type {Root} from 'hast' import type {Processor} from 'unified' /** * Create a new unified processor that already uses `rehype-parse` and * `rehype-stringify`. */ export const rehype: Processor<Root, undefined, undefined, Root, string>