From e806c30fa1a7ab941969da01c05ac4adeeeeeb9e Mon Sep 17 00:00:00 2001
From: Mau Camargo <52770775+camargomau@users.noreply.github.com>
Date: Sun, 05 Nov 2023 19:30:10 +0000
Subject: [PATCH] docs: Add Mau Camargo's Notkesto to showcase (#570)
---
docs/features/table of contents.md | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/docs/features/table of contents.md b/docs/features/table of contents.md
index a66c850..f169b22 100644
--- a/docs/features/table of contents.md
+++ b/docs/features/table of contents.md
@@ -18,6 +18,7 @@
- Removing table of contents: remove all instances of `Plugin.TableOfContents()` from `quartz.config.ts`. and `Component.TableOfContents()` from `quartz.layout.ts`
- Changing the max depth: pass in a parameter to `Plugin.TableOfContents({ maxDepth: 4 })`
- Changing the minimum number of entries in the Table of Contents before it renders: pass in a parameter to `Plugin.TableOfContents({ minEntries: 3 })`
+- Collapse the table of content by default: pass in a parameter to `Plugin.TableOfContents({ collapseByDefault: true })`
- Component: `quartz/components/TableOfContents.tsx`
- Style:
- Modern (default): `quartz/components/styles/toc.scss`
--
Gitblit v1.10.0