8 lines
298 B
TypeScript
8 lines
298 B
TypeScript
import type { RehypePlugin } from './types.js';
|
|
/**
|
|
* Rehype plugin that adds `id` attributes to headings based on their text content.
|
|
*
|
|
* @see https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins
|
|
*/
|
|
export declare function rehypeHeadingIds(): ReturnType<RehypePlugin>;
|