MarkdownOutline.svelte view source
import MarkdownOutline from '@fuzdev/zzz/MarkdownOutline.svelte'; headings
The document's headings, from to_markdown_headings.
type
readonly MarkdownHeading[]onselect
Called with the heading's position in headings when it's clicked.
type
(index: number, heading: MarkdownHeading) => voidsnippet parameters
index numberheading MarkdownHeading