\u003C/svg>',\r\n\r\n```\r\n\r\n### Expected behavior\r\n\r\nAdd `width=\"24\" height=\"24\" `attribute\r\nLike this\r\n```txt\r\n'\u003Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">' \r\n```\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Linux 6.3 Kali GNU/Linux Rolling 2023.3\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 8.21 GB / 15.24 GB\r\n Container: Yes\r\n Shell: 5.9 - /usr/bin/zsh\r\n Binaries:\r\n Node: 18.13.0 - /usr/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.2.0 - /usr/bin/npm\r\n Browsers:\r\n Chrome: 116.0.5845.179\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.10 => 1.0.0-rc.10\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.",[3070,3071,3074],{"name":3019,"color":3020},{"name":3072,"color":3073},"a11y","fbca04",{"name":3022,"color":3023},2930,"themeConfig.socialLinks.icon ","2024-02-02T09:23:16Z","https://github.com/vuejs/vitepress/issues/2930",0.77931476,{"description":3081,"labels":3082,"number":3083,"owner":3025,"repository":3026,"state":3084,"title":3085,"updated_at":3086,"url":3087,"score":3088},"### Is your feature request related to a problem? Please describe.\n\nWe're using Custom Elements to encapsulate styles from our design system, so it'd be great to be able to tell Vitepress to ignore those tags.\r\n\r\nSuper lightweight example:\r\n\r\n```js\r\nclass ButtonExample extends HTMLElement {\r\n connectedCallback() {\r\n const designSystemCSS = '\u003Clink rel=\"stylesheet\" type=\"text/css\" href=\"designSystemURL\" />'\r\n const target = `\u003Cdiv id=\"app\">\u003C/div>`\r\n this.shadow = this.attachShadow({ mode: 'open' })\r\n this.shadow.innerHTML = designSystemCSS + target\r\n createApp(App) // App defined elsewhere ofc\r\n .mount(this.shadow.querySelector('#app'))\r\n }\r\n}\r\n```\n\n### Describe the solution you'd like\n\nProbably just being able to set `compilerOptions.isCustomElement` somewhere would be good enough?\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.",[],735,"closed","Custom element support","2023-01-21T14:34:18Z","https://github.com/vuejs/vitepress/issues/735",0.74881727,{"description":3090,"labels":3091,"number":3093,"owner":3025,"repository":3026,"state":3084,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\r\n\r\nhttps://github.com/vuejs/vitepress/blob/75ca9e4302c65e3bcc9518f7df928318380f6cf6/src/node/markdown/plugins/highlightLines.ts#L30\r\n\r\n`highlightLinePlugin` is used before `attrs`, and `token.info` is rewritten.\r\n\r\nvia https://github.com/vuejs/vitepress/pull/664#discussion_r902203459\r\n\r\n### Reproduction\r\n\r\n\u003Cimg width=\"177\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/174726207-1c068f94-f597-4d5e-9101-4709a08a60c3.png\">\r\n\r\n\u003Cimg width=\"299\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/174726233-83967c42-db47-4c12-8dbd-0c83a817c448.png\">\r\n\r\n\r\n### Expected behavior\r\n\r\nRender `data=\"asdf\"`\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 13.84 GB / 64.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/yarn\r\n npm: 8.12.1 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\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.",[3092],{"name":3022,"color":3023},826,"support adding attributes to code blocks","2023-08-11T00:04:28Z","https://github.com/vuejs/vitepress/issues/826",0.75462645,{"description":3099,"labels":3100,"number":3104,"owner":3025,"repository":3026,"state":3084,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### Describe the bug\n\nWhen adding attributes to containers via `markdown-it-attrs`, you cannot add classes. The error message is \"Duplicate attributes\", presumably because containers already have some built-in values for `class`.\n\n\n### Reproduction\n\n```md\n::: tip Some tip {.custom-container}\nI want a custom style on this container.\n:::\n\n\u003Cstyle scoped>\n.custom-container {\n background: red;\n\u003C/style>\n```\n\nResult (the error message consistently does not match the correct code location, but if you remove the `{ .custom-container }`, the error goes away. Setting `{ class=\"custom-container\" }` gives the same error. Other attributes work.)\n\n```\n7:01:59 PM [vitepress] Internal server error: Duplicate attribute.\n Plugin: vite:vue\n File: /home/projects/vite-rkzqk3b3/docs/example.md:4:46\n 5 | \u003Cstyle scoped>\n 6 | .custom-container {\n 7 | background: red;\n | ^\n 8 | \u003C/style>\n 9 | \n at createCompilerError (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:1364:17)\n at emitError (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:2949:5)\n at Object.onattribnameend (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:2426:7)\n at Tokenizer.handleAttrNameEnd (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:912:14)\n at Tokenizer.stateInAttrName (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:852:12)\n at Tokenizer.parse (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:1103:16)\n at Object.baseParse (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js#cjs:2988:13)\n at Object.parse (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js#cjs:904:23)\n at Object.parse$1 [as parse] (file:///home/projects/vite-rkzqk3b3/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js#cjs:1794:24)\n at createDescriptor (file:///home/projects/vite-rkzqk3b3/node_modules/@vitejs/plugin-vue/dist/index.mjs:87:43)\n \n```\n\n### Expected behavior\n\nThe container gains the CSS class `.custom-container`.\n\n### System Info\n\n```Text\nSystem:\n OS: macOS 15.3.1\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\n Memory: 81.32 MB / 16.00 GB\n Shell: 5.9 - /bin/zsh\n Binaries:\n Node: 22.13.1 - ~/.nvm/versions/node/v22.13.1/bin/node\n npm: 10.9.2 - ~/.nvm/versions/node/v22.13.1/bin/npm\n Browsers:\n Brave Browser: 136.1.78.97\n Chrome: 135.0.7049.116\n Safari: 18.3\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\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.",[3101],{"name":3102,"color":3103},"bug: pending triage","e99695",4741,"Cannot set custom classes on containers via markdown-it-attrs","2025-05-09T02:50:19Z","https://github.com/vuejs/vitepress/issues/4741",0.7620938,{"description":3110,"labels":3111,"number":3113,"owner":3025,"repository":3026,"state":3084,"title":3114,"updated_at":3115,"url":3116,"score":3117},"_Originally posted by @brc-dd in https://github.com/vuejs/vitepress/issues/1152#issuecomment-1214753422_",[3112],{"name":3019,"color":3020},1169,"UI inconsistencies with code blocks","2023-01-21T14:28:44Z","https://github.com/vuejs/vitepress/issues/1169",0.7627155,{"description":3119,"labels":3120,"number":3122,"owner":3025,"repository":3026,"state":3084,"title":3123,"updated_at":3124,"url":3125,"score":3126},"### Is your feature request related to a problem? Please describe.\n\n[Prev Next Links](https://vitepress.dev/reference/default-theme-prev-next-links) can only customize using Frontmatter in each markdown file\n\n### Describe the solution you'd like\n\nI think there must be someone else who thinks like me: **I don't want Prev Next Links**\r\n\r\nusing `custom.css` or customize in each markdown file is too hack and hope it can be edit in either global config\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.",[3121],{"name":3019,"color":3020},2079,"Add support for custom Prev Next Links in themeConfig","2023-06-18T00:04:58Z","https://github.com/vuejs/vitepress/issues/2079",0.76855785,["Reactive",3128],{},["Set"],["ShallowReactive",3131],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fgkmJDN4USVkxRJCXRVCWvc1sYKd1Dd2A-W5dy4ZqSSo":-1},"/vuejs/vitepress/4524"]