We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
<
>
1 parent 5c63af2 commit dadf467Copy full SHA for dadf467
.vitepress/config.mts
@@ -11,6 +11,18 @@ export default defineConfig({
11
cleanUrls: true,
12
lastUpdated: true,
13
14
+ markdown: {
15
+ config(md) {
16
+ const orig = md.render;
17
+ md.render = function (src, env) {
18
+ if (env.relativePath === "changelogs/index.md") {
19
+ src = src.replace(/</g, "<").replace(/>/g, ">");
20
+ }
21
+ return orig.call(this, src, env);
22
+ };
23
+ },
24
25
+
26
vite: {
27
plugins: [tailwindcss()],
28
},
0 commit comments