12 lines
No EOL
334 B
TypeScript
12 lines
No EOL
334 B
TypeScript
/**
|
|
* A tiny plugin that removes raw HTML.
|
|
*
|
|
* This is needed if the format is `md` and `rehype-raw` was not used to parse
|
|
* dangerous HTML into nodes.
|
|
*
|
|
* @returns
|
|
* Transform.
|
|
*/
|
|
export function rehypeRemoveRaw(): (tree: Root) => undefined;
|
|
import type { Root } from 'hast';
|
|
//# sourceMappingURL=rehype-remove-raw.d.ts.map
|