Skip to content

Commit 86ceb70

Browse files
committed
Remove replace public path
1 parent 782ec7f commit 86ceb70

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/fix-markdown.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
export const fixMarkdown = (content: string) =>
22
content
33
.replaceAll(/\.mdx?(#.*?)?\)/gm, "$1)")
4-
// replace paths like `../../public` without the `public` prefix
5-
.replaceAll(/\((\.\.\/)+public/gm, "(")
64
// replace outdated directives with correct syntax
75
.replaceAll(/:::\s([^\n]+)/gm, ":::$1")
86
// /^(.*?)\s*{#([\w-]+)}$

0 commit comments

Comments
 (0)