Files
homewebsite/node_modules/@astrojs/markdown-remark/dist/rehype-collect-headings.d.ts
2025-10-17 20:17:33 +00:00

12 lines
446 B
TypeScript

import type { RehypePlugin } from './types.js';
/**
* Rehype plugin that adds `id` attributes to headings based on their text content.
*
* @param options Optional configuration object for the plugin.
*
* @see https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins
*/
export declare function rehypeHeadingIds({ experimentalHeadingIdCompat, }?: {
experimentalHeadingIdCompat?: boolean;
}): ReturnType<RehypePlugin>;