We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 585e9d3 commit 911cd18Copy full SHA for 911cd18
src/layouts/components/TableOfContents.astro
@@ -16,7 +16,7 @@ const filteredHeadings = headings.filter((heading) => heading.depth <= 3);
16
{
17
filteredHeadings.map((heading) => (
18
<li class={`${heading.depth === 3 && "pl-5"}`}>
19
- <a href={`#${heading.slug}`}>{heading.text} {heading.depth}</a>
+ <a href={`#${heading.slug}`}>{heading.text}</a>
20
</li>
21
))
22
}
0 commit comments