From fcfd166f2d52dcf800fbaff6d618ad57eaf3cc9b Mon Sep 17 00:00:00 2001 From: Rishi Raj Jain Date: Thu, 17 Nov 2022 21:18:57 +0530 Subject: fix: Docs Site - Table of contents highlight not working (#5411) * fix: Docs Site - Table of contents highlight not working * Add html-escaper devDep * add html-escaper via pnpm --- .../src/components/RightSidebar/MoreMenu.astro | 4 +- .../components/RightSidebar/TableOfContents.tsx | 59 ++++++++++++--- examples/docs/src/styles/index.css | 83 +++++++++++++++------- 3 files changed, 106 insertions(+), 40 deletions(-) (limited to 'examples/docs/src') diff --git a/examples/docs/src/components/RightSidebar/MoreMenu.astro b/examples/docs/src/components/RightSidebar/MoreMenu.astro index 655f8eac1..4adffaff4 100644 --- a/examples/docs/src/components/RightSidebar/MoreMenu.astro +++ b/examples/docs/src/components/RightSidebar/MoreMenu.astro @@ -14,7 +14,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL;