Bun

interface

markdown.HeadingMeta

interface HeadingMeta

Meta passed to the heading callback.

  • id?: string

    Heading ID slug. Set when headings: { ids: true } is enabled.

  • level: number

    Heading level (1–6).