Skip to content

Commit 1467a33

Browse files
committed
Restricting toc to h2 level
1 parent 6ee68be commit 1467a33

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

assets/_custom.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ h6 {
153153
content: "> ";
154154
}
155155

156+
.book-menu-toc .book-menu-toc-list ul ul {
157+
display: none;
158+
}
159+
156160
.markdown ul li + li,
157161
.markdown ol li + li {
158162
margin-top: 0.35rem;

0 commit comments

Comments
 (0)