Skip to content

Commit 85a00d3

Browse files
committed
fixup!
1 parent 8b79f79 commit 85a00d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/markdown.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { visit } from 'unist-util-visit';
22

33
export const referenceToLocalMdFile = /^(?![+a-z]+:)([^#?]+)\.md(#.+)?$/i;
44

5-
export default () => {
5+
export function replaceLinks({ filename, linksMapper }) {
66
return (tree) => {
77
visit(tree, (node) => {
88
node.url &&= node.url.replace(

0 commit comments

Comments
 (0)