Skip to content

Commit 0bad3ce

Browse files
committed
docs: document enableToc
1 parent 52a172d commit 0bad3ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/features/table of contents.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tags:
88
Quartz can automatically generate a table of contents from a list of headings on each page. It will also show you your current scroll position on the site by marking headings you've scrolled through with a different colour.
99

1010
By default, it will show all headers from H1 (`# Title`) all the way to H3 (`### Title`) and will only show the table of contents if there is more than 1 header on the page.
11+
You can also hide the table of contents on a page by adding `showToc: false` to the frontmatter for that page.
1112

1213
> [!info]
1314
> This feature requires both `Plugin.TableOfContents` in your `quartz.config.ts` and `Component.TableOfContents` in your `quartz.layout.ts` to function correctly.

0 commit comments

Comments
 (0)