\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.",[2881,2884,2887],{"name":2882,"color":2883},"build","377ba8",{"name":2885,"color":2886},"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.712008,{"description":2894,"labels":2895,"number":2896,"owner":2871,"repository":2872,"state":2873,"title":2897,"updated_at":2898,"url":2899,"score":2900},"### Is your feature request related to a problem? Please describe.\n\nCan't edit when working on project in-line.\n\n### Describe the solution you'd like\n\nCould we get a feature to edit in-line where a markup editor would come up attached to the git repository?\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.",[],4760,"Edit in-line","2025-05-23T19:45:21Z","https://github.com/vuejs/vitepress/issues/4760",0.71319246,{"description":2902,"labels":2903,"number":2905,"owner":2871,"repository":2872,"state":2873,"title":2906,"updated_at":2907,"url":2908,"score":2909},"### Is your feature request related to a problem? Please describe.\n\n1. sometimes need use vue dynamic render highlight content like json list or some thing . if can provide component or function to do that, that will be great.\r\n2. tryed use the vue dynamic component it's not woking , can we use it ? how.\r\n1.有时候需要动态输出 markdown ,能不能加一个从vue 动态输出的功能 。 2. 动态组件用不了,怎么才能用vue 的动态组件\n\n### Describe the solution you'd like\n\n1. sometimes need use vue dynamic render highlight content like json list or some thing . if can provide component or function to do that, that will be great.\r\n2. tryed use the vue dynamic component it's not woking , can we use it ? how.\r\n1.有时候需要动态输出 markdown ,能不能加一个从vue 动态输出的功能 。 2. 动态组件用不了,怎么才能用vue 的动态组件\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.",[2904],{"name":2868,"color":2869},4253,"[Feature request] use vue render highlight section","2024-12-03T17:27:43Z","https://github.com/vuejs/vitepress/issues/4253",0.7216265,{"description":2911,"labels":2912,"number":2914,"owner":2871,"repository":2872,"state":2873,"title":2915,"updated_at":2916,"url":2917,"score":2918},"### Is your feature request related to a problem? Please describe.\n\nDocs will often use terms or abbreviations that may be unfamiliar to someone just discovering the project, and I'd like [VP](## \"Vitepress\") to support showing the definition on hover (as I did on the VP using github's markdown). Ideally with a dashed line and not being an actual link.\r\n\r\nFurthermore, I'd like to be able to write each definition just once, and the term be hoverable across the entire project. Keeps the source DRY.\n\n### Describe the solution you'd like\n\nI'm a fan of Material for MkDocs' [solution](https://squidfunk.github.io/mkdocs-material/reference/tooltips/#adding-a-glossary-includesabbreviationsmd), where you create a glossary file and it appends the correct markdown to each page and the markdown parser then handles generating the tooltips. However, I have not found a markdown-it plugin for tooltips, so I'm not sure it'll necessarily carry over easily.\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.",[2913],{"name":2868,"color":2869},3130,"Automatic definition tooltips","2024-03-07T11:19:36Z","https://github.com/vuejs/vitepress/issues/3130",0.72336334,{"description":2920,"labels":2921,"number":2922,"owner":2871,"repository":2872,"state":2923,"title":2924,"updated_at":2925,"url":2926,"score":2927},"### Is your feature request related to a problem? Please describe.\n\nN/A\n\n### Describe the solution you'd like\n\nAllow custom titles of containers to be manipulated with Markdown, such as **bold**, _italics_, or hyperlinks.\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.vuejs.org).\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.",[],765,"closed","Markdown formatting in custom container titles","2023-01-21T14:34:10Z","https://github.com/vuejs/vitepress/issues/765",0.67943424,{"description":2929,"labels":2930,"number":2935,"owner":2871,"repository":2872,"state":2923,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Is your feature request related to a problem? Please describe.\n\nrepresenting the steps in a very clear way.\n\n### Describe the solution you'd like\n\nproviding a \"Steps\" markdown extension\n\n### Describe alternatives you've considered\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.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.",[2931,2932],{"name":2882,"color":2883},{"name":2933,"color":2934},"theme","0754FB",3159,"feat: adding the \"Steps\" markdown extension","2023-12-27T00:04:27Z","https://github.com/vuejs/vitepress/issues/3159",0.6868317,{"description":2941,"labels":2942,"number":2943,"owner":2871,"repository":2872,"state":2923,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Is your feature request related to a problem? Please describe.\n\n当我在文档里插入图片发布后,图片中有部分内容在页面上较为模糊。我试过markdown-it-custom-attrs插件,但是好像没有生效。\n\n### Describe the solution you'd like\n\n在vitepress中集成图片灯箱的功能,或者有什么办法可以集成相关组件(希望给一个示例)\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.",[],2674,"能否增加一个图片点击放大的功能。","2023-08-01T00:04:35Z","https://github.com/vuejs/vitepress/issues/2674",0.6948531,{"description":2949,"labels":2950,"number":2951,"owner":2871,"repository":2872,"state":2923,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Is your feature request related to a problem? Please describe.\n\n@mdit-vue/plugin-toc had recently made a change to allow nested headers in HTML on markdown pages. Please update this package.\n\n### Describe the solution you'd like\n\nUpdate @mdit-vue/plugin-toc dependency\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.vuejs.org).\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.",[],1919,"Update dependency @mdit-vue/plugin-toc","2023-02-20T00:04:33Z","https://github.com/vuejs/vitepress/issues/1919",0.7037906,{"description":2957,"labels":2958,"number":2960,"owner":2871,"repository":2872,"state":2923,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Is your feature request related to a problem? Please describe.\r\n\r\nLooks like currently markdown inclusion does not support region snippet like code snippet.\r\n\r\n### Describe the solution you'd like\r\n\r\nFile1.md\r\n```md\r\n\u003C!--@include: /common/file.md#snippet{2,3} -->\r\n```\r\n\r\nsnippet.md\r\n```md\r\n\u003C!-- #region snippet -->\r\n## snippet\r\n\r\n\u003CCustomComponent>\r\nCustom content\r\n\u003C/CustomComponent>\r\n\u003C!-- #endregion snippet -->\r\n```\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\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.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2959],{"name":2882,"color":2883},3949,"Why not support markdown region snippets?","2024-07-10T04:41:55Z","https://github.com/vuejs/vitepress/issues/3949",0.7064498,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$feaEYHVyWkFXIwW8LLjSHAn_ChCILALqU3S5tJ77uIjY":-1},"/vuejs/vitepress/3068"]