Skip to content

Commit d46b3e6

Browse files
authored
Remove replace public path (#507)
1 parent f7a2c01 commit d46b3e6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/fix-markdown.ts

Lines changed: 0 additions & 2 deletions
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)