IOweb/node_modules/@mdx-js/mdx/lib/plugin/remark-mark-and-unravel.d.ts
2026-07-03 15:07:38 -05:00

13 lines
No EOL
471 B
TypeScript

/**
* A tiny plugin that unravels `<p><h1>x</h1></p>` but also
* `<p><Component /></p>` (so it has no knowledge of “HTML”).
*
* It also marks JSX as being explicitly JSX, so when a user passes a `h1`
* component, it is used for `# heading` but not for `<h1>heading</h1>`.
*
* @returns
* Transform.
*/
export function remarkMarkAndUnravel(): (tree: Root) => undefined;
import type { Root } from 'mdast';
//# sourceMappingURL=remark-mark-and-unravel.d.ts.map