@digitalocean/do-markdownit
Version:
Markdown-It plugin for the DigitalOcean Community.
20 lines (19 loc) • 472 B
TypeScript
declare namespace _exports {
export { CollapsibleHeadingOptions };
}
declare const _exports: import('markdown-it').PluginWithOptions<CollapsibleHeadingOptions>;
export = _exports;
type CollapsibleHeadingOptions = {
/**
* List of headings to transform.
*/
levels?: number[];
/**
* Whether to collapse the content by default.
*/
open?: boolean;
/**
* Class to use for collapsible sections.
*/
className?: string;
};