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 b96abf5 commit 03a71b4Copy full SHA for 03a71b4
src/index.ts
@@ -19,7 +19,7 @@ export const rehypeCollapsableToc = () => {
19
}
20
21
22
-export const visitorCallback = (node: Element, rootUlElement: Element) => {
+const visitorCallback = (node: Element, rootUlElement: Element) => {
23
if (!/^h[2-6]$/.test(node.tagName)) {
24
return
25
0 commit comments