Skip to content

Commit 03a71b4

Browse files
committed
remove visitorCallback export
1 parent b96abf5 commit 03a71b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const rehypeCollapsableToc = () => {
1919
}
2020
}
2121

22-
export const visitorCallback = (node: Element, rootUlElement: Element) => {
22+
const visitorCallback = (node: Element, rootUlElement: Element) => {
2323
if (!/^h[2-6]$/.test(node.tagName)) {
2424
return
2525
}

0 commit comments

Comments
 (0)