\n\n### Expected behavior\n\nI hope to use SVG and other methods instead of using masks to display icons, which can avoid frequent redrawing\n\n### System Info\n\n```Text\n\"vitepress\": \"^1.6.4\",\n```\n\n### Additional context\n\n\u003Cimg width=\"2559\" height=\"1042\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/39db5990-f3ee-47bb-8bcf-49272a1918f4\" />\n\n### Validations\n\n- [x] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [x] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [x] Read the [docs](https://vitepress.dev).\n- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3145],{"name":3146,"color":3147},"bug: pending triage","e99695",4917,"vuejs","vitepress","open","Bug: Frequent triggering of redrawing of navigation bar icons","2025-08-21T09:14:41Z","https://github.com/vuejs/vitepress/issues/4917",0.66267496,{"description":3157,"labels":3158,"number":3160,"owner":3149,"repository":3150,"state":3161,"title":3162,"updated_at":3163,"url":3164,"score":3165},"### Describe the bug\n\nts Symbol error:\r\n\r\nPartial\u003CT>\n\n### Reproduction\n\nPartial\u003CT>\n\n### Expected behavior\n\nPartial\u003CT> is OK\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 14.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 334.34 MB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 19.5.0 - ~/.nvm/versions/node/v19.5.0/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.4.1 - ~/.nvm/versions/node/v19.5.0/bin/npm\r\n pnpm: 8.6.12 - ~/.nvm/versions/node/v19.5.0/bin/pnpm\r\n Browsers:\r\n Chrome: 115.0.5790.170\r\n Safari: 17.0\r\n npmPackages:\r\n vitepress: 1.0.0-beta.7 => 1.0.0-beta.7\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3159],{"name":3146,"color":3147},2764,"closed","Element is missing end tag","2023-08-17T00:04:09Z","https://github.com/vuejs/vitepress/issues/2764",0.61789346,{"description":3167,"labels":3168,"number":3169,"owner":3149,"repository":3150,"state":3161,"title":3170,"updated_at":3171,"url":3172,"score":3173},"### Describe the bug\r\n\r\ncontent inside [] should not be parsed as html \r\n\r\n\r\n### Reproduction\r\n\r\njust use \r\n```\r\n[SimpleLink\u003CT>] (\"somewhere\")\r\n```\r\nin any md file\r\n\r\n### Expected behavior\r\n\r\nThe page should render even with \"Element is missing end tag\" when inside [ ]\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.19042\r\n CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz \r\n Memory: 16.55 GB / 31.88 GB\r\n Binaries:\r\n Node: 14.17.6 - C:\\Program Files\\nodejs\\node.EXE \r\n Yarn: 1.22.10 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 7.24.2 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 98.0.4758.102\r\n Edge: Spartan (44.19041.1266.0), Chromium (99.0.1150.30)\r\n Internet Explorer: 11.0.19041.1202\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],576,"Element is missing end tag Error when used inside a link like [SimpleLink\u003CT>] (\"somewhere\")","2023-01-21T14:32:33Z","https://github.com/vuejs/vitepress/issues/576",0.62479883,{"description":3175,"labels":3176,"number":3178,"owner":3149,"repository":3150,"state":3161,"title":3162,"updated_at":3179,"url":3180,"score":3181},"### Describe the bug\r\n\r\nerror detail: https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775\r\n\r\nI miss the error in update a markdown file, file:https://raw.githubusercontent.com/scopor/wiki/main/docs/reading/css.md\r\n\r\nRun yarn docs:build\r\n yarn docs:build\r\n shell: /usr/bin/bash -e {0}\r\nyarn run v1.[2](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:2)2.19\r\n$ vitepress build docs\r\nvitepress v1.0.0-alpha.17\r\n- building client + server bundles...\r\n[vite:vue] Element is missing end tag.\r\nfile: /home/runner/work/wiki/wiki/docs/reading/css.md:208:110\r\n✖ building client + server bundles...\r\nbuild error:\r\n Error [SyntaxError]: Element is missing end tag.\r\n at createCompilerError (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:18:19)\r\n at emitError (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:157[3](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:3):29)\r\n at parseElement (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:11[4](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:5)8:9)\r\n at parseChildren (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:932:28)\r\n at parseElement (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:112[7](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:8):22)\r\n at parseChildren (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:932:2[8](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:9))\r\n at parseElement (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:1127:22)\r\n at parseChildren (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:[9](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:10)32:28)\r\n at parseElement (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:1127:22)\r\n at parseChildren (/home/runner/work/wiki/wiki/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js:932:28) {\r\n id: '/home/runner/work/wiki/wiki/docs/reading/css.md',\r\n plugin: 'vite:vue',\r\n loc: {\r\n file: '/home/runner/work/wiki/wiki/docs/reading/css.md',\r\n line: 208,\r\n column: 1[10](https://github.com/scopor/wiki/actions/runs/3417036686/jobs/5687761775#step:6:11)\r\n },\r\n\r\n### Reproduction\r\n\r\n1、modify file\r\n2、trigger github actions: yarn docs:build\r\n\r\n### Expected behavior\r\n\r\nyarn docs:build\r\n\r\n### System Info\r\n\r\ngithub actions\r\n\r\n```shell\r\nvitepress v1.0.0-alpha.17\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3177],{"name":3146,"color":3147},1590,"2023-01-21T14:20:50Z","https://github.com/vuejs/vitepress/issues/1590",0.6283232,{"description":3183,"labels":3184,"number":3186,"owner":3149,"repository":3150,"state":3161,"title":3187,"updated_at":3188,"url":3189,"score":3190},"### Describe the bug\n\n在 xx.md 文件中输入以下文档会报错:\r\n## 测试文档\r\n\r\n\r\n> \u003Cn>y = 密钥在 n 年后过期\r\n> 密钥的有效期限是?(0)\r\n\r\n\r\n11\r\n22\r\n\r\n33\n\n### Reproduction\n\n输入以上内容,编译错误\n\n### Expected behavior\n\n能够正常的编译, \n\n### System Info\n\n```shell\n17:38:38 [vite] Internal server error: Element is missing end tag.\r\n Plugin: vite:vue\r\n File: D:/pro/doc/my-docs/docs/l-note/GPG入门教程.md\r\n 6 | \r\n 7 | \r\n 8 | 11\r\n | ^\r\n 9 | 22\r\n 10 | \r\n at createCompilerError (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:19:19)\r\n at emitError (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1602:29)\r\n at parseElement (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1154:9)\r\n at parseChildren (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:937:28)\r\n at parseElement (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1133:22)\r\n at parseChildren (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:937:28)\r\n at parseElement (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1133:22)\r\n at parseChildren (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:937:28)\r\n at parseElement (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1133:22)\r\n at parseChildren (D:\\pro\\doc\\my-docs\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:937:28)\n```\n\n\n### Additional context\n\n\r\n\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3185],{"name":3146,"color":3147},1470,"容错率太低了, 以下文档也会进行报错。","2023-01-23T00:04:14Z","https://github.com/vuejs/vitepress/issues/1470",0.63951445,{"description":3192,"labels":3193,"number":3197,"owner":3149,"repository":3150,"state":3161,"title":3198,"updated_at":3199,"url":3200,"score":3201},"### Describe the bug\n\nThis is the error:\r\n\r\n[vite] Internal server error: Element is missing end tag. \r\n Plugin: vite:vue\r\n File: D:/桌面/学习笔记/doc/docs/rust/Rust基础/4.枚举.md:93:33\r\n 91 | let girl = Gender::Girl(girl1);\r\n 92 | \r\n 93 | boys.run(String::from(\"男孩们\")); // 男孩们 跑得很快\r\n | ^\r\n 94 | girl.run(String::from(\"小女孩\")); // 小女孩 跑得很快\r\n 95 | }\r\n\r\n\r\nAnd my code like these: \r\n\r\n```rust\r\nenum Gender {\r\n Boy(String, String, String),\r\n Girl(String),\r\n}\r\n\r\nimpl Gender {\r\n fn run(&self, gender: String) {\r\n println!(\"{} 跑得很快\", gender);\r\n }\r\n}\r\n\r\nfn main() {\r\n let boy1 = String::from(\"大锤\");\r\n let boy2 = String::from(\"中风\");\r\n let boy3 = String::from(\"小明\");\r\n let girl1 = String::from(\"小红\");\r\n\r\n let boys = Gender::Boy(boy1, boy2, boy3);\r\n let girl = Gender::Girl(girl1);\r\n\r\n boys.run(String::from(\"男孩们\")); // 男孩们 跑得很快\r\n girl.run(String::from(\"小女孩\")); // 小女孩 跑得很快\r\n}\r\n```\r\n\r\nCan somebody tell me how to fix this error? thanks!\n\n### Reproduction\n\nsee above error\n\n### Expected behavior\n\nI hope the code could be rendered correctly\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz\r\n Memory: 7.65 GB / 15.79 GB\r\n Binaries:\r\n Node: 16.13.0 - D:\\nodejs\\node.EXE\r\n Yarn: 1.22.18 - D:\\npm\\node_global\\yarn.CMD\r\n npm: 8.6.0 - D:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.42)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.35 => 1.0.0-alpha.35\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3194],{"name":3195,"color":3196},"need more info","bdbefc",1784,"Internal server error: Element is missing end tag. Plugin: vite:vue","2023-01-29T00:04:22Z","https://github.com/vuejs/vitepress/issues/1784",0.6448018,{"description":3203,"labels":3204,"number":3206,"owner":3149,"repository":3150,"state":3161,"title":3207,"updated_at":3208,"url":3209,"score":3210},"### Describe the bug\n\nhttps://stackblitz.com/edit/vite-j7cesz?file=docs/index.md is the repro. Its `index.md` compiles just fine with some other established markdown compilers -- I tried pandoc and it worked well.\r\n\r\nI would like to know what's wrong with my markdown code! It can be that I don't understand the VitePress markdown syntax well enough, or maybe I am lucky to find a bug in the compiler 😉 I would like to provide additional info amap.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-j7cesz?file=docs/index.md\n\n### Expected behavior\n\nCompiles just fine.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H\r\n Memory: 5.91 GB / 7.61 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 19.2.0 - /usr/bin/node\r\n npm: 8.19.3 - /usr/bin/npm\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.30 => 1.0.0-alpha.30\r\n```\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3205],{"name":3146,"color":3147},1673,"VitePress does not compile a HTML-markdown mixed file saying that 'Element is missing end tag'","2023-01-21T14:17:06Z","https://github.com/vuejs/vitepress/issues/1673",0.65490884,{"description":3212,"labels":3213,"number":3215,"owner":3149,"repository":3150,"state":3161,"title":3216,"updated_at":3217,"url":3218,"score":3219},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\n\r\nindex.md with\r\n\r\n```\r\n\u003Cfoo-bar>\r\nxxx\r\n\u003C/foo-bar>\r\n```\r\nwill throw error\r\n\r\n``` bash\r\n[vite] SFC template compilation error: \r\ndocs/index.md:4:1\r\nElement is missing end tag.\r\n1 | \r\n2 | \u003Ctemplate>\u003Cdiv>\u003Ch1 id=\"test\">\u003Ca class=\"header-anchor\" href=\"#test\" aria-hidden=\"true\">#\u003C/a> test\u003C/h1>\r\n3 | \u003Cfoo-bar>\r\n | ^\r\n4 | \u003Cp>xxx\r\n5 | \u003C/foo-bar>\u003C/p>\r\n\r\ndocs/index.md:5:11\r\nInvalid end tag.\r\n3 | \u003Cfoo-bar>\r\n4 | \u003Cp>xxx\r\n5 | \u003C/foo-bar>\u003C/p>\r\n | ^\r\n6 | \u003C/div>\u003C/template>\r\n```\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n\r\nclone [my repo](https://github.com/xxholly32/vitepress-playground)\r\n\r\nrun `npm i && npm run docs`\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\nno error or warning and transform will be correct\r\n\r\n**System Info**\r\n- vitepress version:0.6.0\r\n- vite version:1.0.0-rc.3\r\n- Node version:v12.16\r\n- OS version:10.15\r\n",[3214],{"name":3146,"color":3147},95,"Multiline vue-components transform error ","2023-01-21T16:24:24Z","https://github.com/vuejs/vitepress/issues/95",0.6644326,{"description":3221,"labels":3222,"number":3224,"owner":3149,"repository":3150,"state":3161,"title":3225,"updated_at":3226,"url":3227,"score":3228},"### Describe the bug\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n[bug](https://stackblitz.com/edit/vite-tsynfq?file=docs%2Fexample.md)\r\n\r\n### Expected behavior\r\n\r\n\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13700H\r\n Memory: 17.60 GB / 31.73 GB\r\nBinaries:\r\n Node: 18.16.0 - D:\\env\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 9.8.1 - D:\\env\\nodejs\\npm.CMD\r\n pnpm: 8.6.12 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\nBrowsers:\r\n Edge: Spartan (44.22621.1194.0), Chromium (113.0.1774.57)\r\n Internet Explorer: 11.0.22621.1\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3223],{"name":3146,"color":3147},2777,"The ol label is not aligned","2023-08-20T00:04:20Z","https://github.com/vuejs/vitepress/issues/2777",0.6774913,{"description":3230,"labels":3231,"number":3233,"owner":3149,"repository":3150,"state":3161,"title":3234,"updated_at":3235,"url":3236,"score":3237},"### Describe the bug\n\n但是实际我找不到这个原因在哪\r\n\r\n\r\n报错指出的位置不准确。调试很久,一直未找到出错点。\n\n### Reproduction\n\n运行就出错\n\n### Expected behavior\n\n期望解决这个问题\n\n### System Info\n\n```sh\nmac studio google浏览器\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3232],{"name":3146,"color":3147},2762,"vitepress运行报错PM [vitepress] Internal server error: Invalid end tag.","2023-08-17T00:04:11Z","https://github.com/vuejs/vitepress/issues/2762",0.67828447,["Reactive",3239],{},["Set"],["ShallowReactive",3242],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fvQlXoURlb3VpXd4QZhJ5-KV_9CPDAGyhJJta2tkGc6k":-1},"/vuejs/vitepress/4188"]