refactor: Update function parameters in remarkHeadingId plugin
This commit is contained in:
parent
29a2246ef3
commit
9569049e61
@ -140,7 +140,7 @@ const formatExportNode = (): MDXJSEsm => {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const remarkHeadingId: Plugin<[], Root> = () => (tree: Root, file) => {
|
const remarkHeadingId: Plugin<[], Root> = () => (tree: Root) => {
|
||||||
const slugify = slugifyWithCounter();
|
const slugify = slugifyWithCounter();
|
||||||
|
|
||||||
visit(tree, "heading", (node) => {
|
visit(tree, "heading", (node) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user