mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-07 19:25:13 +02:00
14 lines
532 B
TypeScript
14 lines
532 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;
|
|
export type Root = import('mdast').Root;
|
|
export type RootContent = import('mdast').RootContent;
|
|
//# sourceMappingURL=remark-mark-and-unravel.d.ts.map
|