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 74f1662 commit bbbb66bCopy full SHA for bbbb66b
_javascript/modules/components/toc.js
@@ -1,5 +1,5 @@
1
export function toc() {
2
- if (document.querySelector('main h2')) {
+ if (document.querySelector('main h2, main h3')) {
3
// see: https://github.com/tscanlin/tocbot#usage
4
tocbot.init({
5
tocSelector: '#toc',
0 commit comments