Skip to content

Commit 457880f

Browse files
chore: apply automated fixes
1 parent bc69724 commit 457880f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/markdown.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ export function resolveMarkdownRelativeLinks(
1818
}
1919
// match a link (e.g. [./example](./example), will replace the link, not the text)
2020
if (url) {
21-
return match.replace(`(${path})`, `(${cdnBaseURL}/${path.replace(/^\.\//, "")})`);
21+
return match.replace(
22+
`(${path})`,
23+
`(${cdnBaseURL}/${path.replace(/^\.\//, "")})`,
24+
);
2225
}
2326
return match.replace(path, `${cdnBaseURL}/${path.replace(/^\.\//, "")}`);
2427
},

0 commit comments

Comments
 (0)