On this page ▾
Table of contents
<slide-ng-toc /> lists the slides that have a title and are not hidden. It works from the title and level of each slide.
<slide-ng-toc columns="2" />
The title is the title key, or else the first heading. The level is the level key, or else the number of # in that heading. A slide whose level is higher than the one before it becomes its child, so # A, ## A.1, ## A.2, # B gives A with A.1 and A.2, and B.
Leave a slide out with hideInToc: true.
| Option | Meaning |
|---|---|
columns |
Number of columns, 1 by default. |
listClass, listStyle |
Classes or inline style for the lists, at every level. |
start |
The first number, 1 by default. |
minDepth, maxDepth |
Which levels to list. |
mode |
all, onlyCurrentTree (the path to the current slide and what is below it) or onlySiblings (the lists that contain the current slide). |
The list shows each title as HTML: inline markdown such as **bold** and code is drawn, and $math$ with KaTeX. Raw HTML in a title is shown as text. <slide-ng-title-renderer no="3" /> shows one title the same way anywhere, see Components. The tab title, the go-to box and the PDF outline use the plain text, with the markup taken out: $O(1)$ is "O(1)", and TeX's one-character escapes are undone, so $400\%$ is "400%". Screen readers read the math of a title as its TeX. Bidi override characters are left out of the titles.