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 8b79f79 commit 85a00d3Copy full SHA for 85a00d3
tools/doc/markdown.mjs
@@ -2,7 +2,7 @@ import { visit } from 'unist-util-visit';
2
3
export const referenceToLocalMdFile = /^(?![+a-z]+:)([^#?]+)\.md(#.+)?$/i;
4
5
-export default () => {
+export function replaceLinks({ filename, linksMapper }) {
6
return (tree) => {
7
visit(tree, (node) => {
8
node.url &&= node.url.replace(
0 commit comments