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 f7a2c01 commit d46b3e6Copy full SHA for d46b3e6
scripts/fix-markdown.ts
@@ -1,8 +1,6 @@
1
export const fixMarkdown = (content: string) =>
2
content
3
.replaceAll(/\.mdx?(#.*?)?\)/gm, "$1)")
4
- // replace paths like `../../public` without the `public` prefix
5
- .replaceAll(/\((\.\.\/)+public/gm, "(")
6
// replace outdated directives with correct syntax
7
.replaceAll(/:::\s([^\n]+)/gm, ":::$1")
8
// /^(.*?)\s*{#([\w-]+)}$
0 commit comments