\r\n title: Feature A\r\n details: Lorem ipsum dolor sit amet, consectetur adipiscing elit\r\n```\r\n\r\nCheck the feature icon type\r\n```ts\r\ntype FeatureIcon =\r\n | string\r\n | { src: string; alt?: string; width?: string; height: string }\r\n | {\r\n light: string\r\n dark: string\r\n alt?: string\r\n width?: string\r\n height: string\r\n }\r\n```\r\n\r\nI refer to the render logic, use `v-html` render the icon.\r\nDisplay well in `dev` environment, but shows errors in `prod` environment.\r\n\r\n| dev | build |\r\n| ----------- | ----------- |\r\n|  |  |\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/github/zyyv/vitepress-unocss-issue\r\n\r\n- Display right run `pnpm dev`\r\n- Display error run `pnpm build && pnpm preview`\r\n\r\n### Expected behavior\r\n\r\nDev and build behave the same\r\n\r\n### System Info\r\n\r\n```Text\r\nlatest\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.",[2893,2894,2897],{"name":2882,"color":2883},{"name":2895,"color":2896},"has-workaround","1B4515",{"name":2868,"color":2869},4045,"SSR in dev for more consistent output in dev and prod","2025-03-02T18:08:58Z","https://github.com/vuejs/vitepress/issues/4045",0.77452457,{"description":2904,"labels":2905,"number":2909,"owner":2871,"repository":2872,"state":2910,"title":2911,"updated_at":2912,"url":2913,"score":2914},"### Describe the bug\n\nthe content within `{{ title }}` is not being displayed, and I don't understand why.\r\n\n\n### Reproduction\n\n[minimal](https://stackblitz.com/edit/vite-ucrpnh?file=docs%2Fexample.md)\n\n### Expected behavior\n\nExpecting `{{ title }}` to display correctly.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 3.38 GB / 15.86 GB\r\n Binaries:\r\n Node: 18.20.3 - D:\\nodejs\\node.EXE\r\n npm: 10.7.0 - D:\\nodejs\\npm.CMD\r\n pnpm: 9.7.0 - D:\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (127.0.2651.74)\r\n Internet Explorer: 11.0.22621.3527\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.",[2906],{"name":2907,"color":2908},"bug: pending triage","e99695",4142,"closed","I couldn't find any relevant information in the document, and I'm wondering if this is a specific syntax?","2024-08-23T04:42:12Z","https://github.com/vuejs/vitepress/issues/4142",0.7462597,{"description":2916,"labels":2917,"number":2919,"owner":2871,"repository":2872,"state":2910,"title":2920,"updated_at":2921,"url":2922,"score":2923},"### 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.",[2918],{"name":2907,"color":2908},2777,"The ol label is not aligned","2023-08-20T00:04:20Z","https://github.com/vuejs/vitepress/issues/2777",0.7543866,{"description":2925,"labels":2926,"number":2927,"owner":2871,"repository":2872,"state":2910,"title":2928,"updated_at":2929,"url":2930,"score":2931},"### Is your feature request related to a problem? Please describe.\n\nHello. When writing a code block like this:\r\n```\r\nhello\r\n```\r\n\r\neveryone can click on a button to Copy Code.\r\n\r\nIf I am not missing something else... every text in VitePress interface can be translated, except the message \"Copied\" that appears when clicking on the \"Copy Code\" button.\n\n### Describe the solution you'd like\n\nI tried to discover if this string comes from an internal plugin or from VitePress and I could not discover.\r\nIt may be a small thing, but I would appreciate if someone could discover this and allow us to translate the \"Copied\" string.\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],4074,"Translate the \"Copied\" text in Code blocks","2024-08-02T04:42:54Z","https://github.com/vuejs/vitepress/issues/4074",0.75998497,{"description":2933,"labels":2934,"number":2936,"owner":2871,"repository":2872,"state":2910,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the bug\n\n1. When in MPA mode, Normal in development mode, no outline in production environment:\r\n\r\nLocal use: pnpm exec vitepress dev dist --mpa\r\n\r\n\r\non linux server use : pnpm exec vitepress build dist --mpa\r\n\r\n\n\n### Reproduction\n\nwindows 10\r\n\r\nC:\\Users\\test\\Desktop\\tmp>node -v\r\nv18.16.1\r\n\r\nC:\\Users\\test\\Desktop\\tmp>npm -v\r\n9.5.1\r\n\r\nvitepress version: 1.0.0 beta.3\n\n### Expected behavior\n\nwindows 10\r\n\r\nC:\\Users\\test\\Desktop\\tmp>node -v\r\nv18.16.1\r\n\r\nC:\\Users\\test\\Desktop\\tmp>npm -v\r\n9.5.1\r\n\r\nvitepress version: 1.0.0 beta.3\n\n### System Info\n\n```sh\nwindows 10\r\n\r\nC:\\Users\\test\\Desktop\\tmp>node -v\r\nv18.16.1\r\n\r\nC:\\Users\\test\\Desktop\\tmp>npm -v\r\n9.5.1\r\n\r\nvitepress version: 1.0.0 beta.3\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.",[2935],{"name":2907,"color":2908},2552,"MPA MODE BUGS","2023-07-05T00:05:12Z","https://github.com/vuejs/vitepress/issues/2552",0.76316315,{"description":2942,"labels":2943,"number":2944,"owner":2871,"repository":2872,"state":2910,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Describe the bug\n\n在我编写一个.md文件时我是这么写的:\r\n\r\n```\r\n\u003Cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/NoNameGMM/SignInForMiraiMC?style=flat&label=License\r\n\"/>\r\n\u003Cimg alt=\"Minecraft Version\" src=\"https://img.shields.io/badge/Minecraft-1.8--1.20-blue?style=flat&color=green\"/>\r\n\u003Cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/NoNameGMM/SignInForMiraiMC?style=flat&label=Release\"/>\r\n```\r\n\r\n正常来说应该是这样:\r\n\u003Cimg width=\"249\" alt=\"photo1\" src=\"https://github.com/vuejs/vitepress/assets/109721871/d5c41be5-f3df-43f7-bd88-a2f12a11490f\">\r\n\r\n可是vitepress的效果是:\r\n\u003Cimg width=\"107\" alt=\"屏幕截图 2024-03-03 200157\" src=\"https://github.com/vuejs/vitepress/assets/109721871/a5b20517-2e3f-4fb0-9390-1f06cdbbebd6\">\r\n\r\n\r\n\n\n### Reproduction\n\n同上\n\n### Expected behavior\n\n我想要实现正常markdown的效果\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 1.68 GB / 13.86 GB\r\n Binaries:\r\n Node: 20.10.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.21 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 10.2.3 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.15.4 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (122.0.2365.59)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.44 => 1.0.0-rc.44\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.",[],3631,"使用shields.io徽标时图片自动换行","2024-03-11T00:04:39Z","https://github.com/vuejs/vitepress/issues/3631",0.7634659,{"description":2950,"labels":2951,"number":2956,"owner":2871,"repository":2872,"state":2910,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Is your feature request related to a problem? Please describe.\n\nWithout auto-wrap, I have to drag horizontally to view the text in the code block, which is a pain in the ass!\n\n### Describe the solution you'd like\n\n...\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2952,2955],{"name":2953,"color":2954},"theme","0754FB",{"name":2868,"color":2869},3307,"How to set auto-warp column in code blocks like docusaurus?","2024-02-23T00:05:11Z","https://github.com/vuejs/vitepress/issues/3307",0.76789117,{"description":2962,"labels":2963,"number":2965,"owner":2871,"repository":2872,"state":2910,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### 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.",[2964],{"name":2907,"color":2908},1470,"容错率太低了, 以下文档也会进行报错。","2023-01-23T00:04:14Z","https://github.com/vuejs/vitepress/issues/1470",0.7706771,["Reactive",2971],{},["Set"],["ShallowReactive",2974],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fNHyw1UF8M0xc7w1TW0AXz7crcjzvS6i6lZS8ATJvoxg":-1},"/vuejs/vitepress/3602"]