@ende/markdown/toc

ende add jsr:@ende/markdown

Version 2026.10.18 on JSR.

Exports

  • toc — Lists the headings of a document for a table of contents: each heading's level, plain text and id, in document order. The list is flat; use `depth` to indent or nest it. Headings inside block quotes, lists and admonitions count too.