We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 782ec7f commit 86ceb70Copy full SHA for 86ceb70
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