\n\n### Reproduction\n\nnone\n\n### Expected behavior\n\nThe text inside the Badge component should not wrap and should remain on the same line to avoid disrupting the table layout.\n\n### System Info\n\n```Text\nnone\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.",[2885],{"name":2886,"color":2887},"bug: pending triage","e99695",4764,"Badge component unexpectedly breaks line in tables with long text","2025-05-27T08:28:39Z","https://github.com/vuejs/vitepress/issues/4764",0.79633176,{"description":2894,"labels":2895,"number":2896,"owner":2875,"repository":2876,"state":2897,"title":2898,"updated_at":2899,"url":2900,"score":2901},"When a section of the sidebar is set with collapsed to true, it is sometimes hard to understand that the page you are browsing is in this section when you have followed a link.\r\n\r\nWould it be possible to have an option to expand a section if the active page is a children of the section ?\r\nMaybe adding a new setting to collapsed for example `collapsed: unless-active` or something of the sort?",[],1718,"closed","[sidebar] Offer the possibility to expand a collapsible section if we are navigating to a children page","2023-01-21T14:16:59Z","https://github.com/vuejs/vitepress/issues/1718",0.7135429,{"description":2903,"labels":2904,"number":2905,"owner":2875,"repository":2876,"state":2897,"title":2906,"updated_at":2907,"url":2908,"score":2909},"### Is your feature request related to a problem? Please describe.\n\nHey! With a very large sidebar, navigation becomes inconvenient.\r\n\r\n\n\n### Describe the solution you'd like\n\nNeed to be able to collapse subcategories. As an option, add the ability to use the collapsible and collapsed tags included in subitems.\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.",[],1493,"Ability to collapse subcategories in the sidebar","2023-01-21T14:23:12Z","https://github.com/vuejs/vitepress/issues/1493",0.72639626,{"description":2911,"labels":2912,"number":2915,"owner":2875,"repository":2876,"state":2897,"title":2916,"updated_at":2917,"url":2918,"score":2919},"### Is your feature request related to a problem? Please describe.\n\nChart.js has a mix of expandable groups and individual items within its sidebar. I can't migrate the docs from Vuepress to Vitepress because Vitepress will not allow individual items within the sidebar\n\n### Describe the solution you'd like\n\nThe types are currently:\r\n```\r\n export type Sidebar = SidebarGroup[] | SidebarMulti\r\n\r\n export interface SidebarMulti {\r\n [path: string]: SidebarGroup[]\r\n }\r\n```\r\n\r\nIt would be nice to change them to:\r\n```\r\n export type Sidebar = Array\u003CSidebarGroup|SidebarItem> | SidebarMulti\r\n\r\n export interface SidebarMulti {\r\n [path: string]: Array\u003CSidebarGroup|SidebarItem>\r\n }\r\n```\n\n### Describe alternatives you've considered\n\nMake a group with just an individual item in it. It's kind of an annoying user experience though\n\n### Additional context\n\nThe work-in-progress branch is here: https://github.com/benmccann/Chart.js/tree/vitepress\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.",[2913,2914],{"name":2866,"color":2867},{"name":2872,"color":2873},1225,"Enable SidebarItem only menu in sidebar","2023-08-13T00:04:15Z","https://github.com/vuejs/vitepress/issues/1225",0.75577354,{"description":2921,"labels":2922,"number":2924,"owner":2875,"repository":2876,"state":2897,"title":2925,"updated_at":2926,"url":2927,"score":2928},"**Is your feature request related to a problem? Please describe.**\r\nI noticed there are some `useActiveSidebarLinks` composables in the default theme. They are a bit specific to the Sidebar.vue component. It does not make it easy to customize a new sidebar.\r\n\r\n**Describe the solution you'd like**\r\nIntroduce exported composable useActiveSidebarLinks which takes in properties like selectors or refs and returns which link is active.\r\n\r\n**Describe alternatives you've considered**\r\nI am using the default-theme's Sidebar component wholesale in a custom theme for now.\r\n\r\n**Additional context**\r\nI might take a stab at it but wanted to file an issue until then.\r\n",[2923],{"name":2866,"color":2867},70,"sidebar composable exported for general use","2023-01-21T16:04:25Z","https://github.com/vuejs/vitepress/issues/70",0.75914323,{"description":2930,"labels":2931,"number":377,"owner":2875,"repository":2876,"state":2897,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Is your feature request related to a problem? Please describe.\n\nCurrently sidebar depth can be specified per page in the frontmatter section. It would be convenient to set a global default sidebar depth in themeConfig. In situations where pages are auto-generated, adding the frontmatter block may not be so easy. \n\n### Describe the solution you'd like\n\nAdd support for `sidebarDepth` in `themeConfig`.\r\n\r\nSidebar depth specified in the frontmatter block should take priority over what's defined in `themeConfig`. If `sidebarDepth` is not defined, either in the page or in `themeConfig`, `Infinity` should be used to avoid breaking changes.\r\n\n\n### Describe alternatives you've considered\n\nThe default theme in vuepress supports setting sidebarDepth in sidebar groups as well, which could be nice, but I guess the most important is to have a global default available.\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/master/.github/contributing.md).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2932],{"name":2866,"color":2867},"Support setting sidebar depth in themeConfig for default theme","2023-01-21T14:32:50Z","https://github.com/vuejs/vitepress/issues/482",0.76330274,{"description":2938,"labels":2939,"number":2940,"owner":2875,"repository":2876,"state":2897,"title":2941,"updated_at":2942,"url":2943,"score":2944},"**Is your feature request related to a problem? Please describe.**\r\nCurrently, when sidebar is open, we can only close it by clicking the hamburger menu. We should also make it closable by clicking outside of the sidebar.\r\n\r\n**Describe the solution you'd like**\r\nWe should also make it closable by clicking outside of the sidebar.\r\n\r\n**Describe alternatives you've considered**\r\nNone\r\n\r\n**Additional context**\r\nNone\r\n",[],76,"Close the sidebar when clicking outside of the sidebar","2023-01-21T16:25:33Z","https://github.com/vuejs/vitepress/issues/76",0.76619136,{"description":2946,"labels":2947,"number":2949,"owner":2875,"repository":2876,"state":2897,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### Describe the bug\n\n双重花括号在markdown文本中编译失败404,无法正确显示文本内容。\r\n\r\n\r\n\n\n### Reproduction\n\n## 4、jsx的语法规则\r\n\r\n- 定义虚拟DOM时,不要写括号\r\n- 标签中混入JS表达式时要用`{}`\r\n- 样式的类名指定不要用`class`,要用`className`\r\n- 内联样式,要用`style={{key:value}}`的形式去写\r\n- 只有一个根标签\r\n- 标签必须闭合\r\n- 标签首字母小写,则该标签会转为`html`中同名元素,若`html`中无该标签对应的同名元素则报错\r\n- 若标签首字母大写,`react`就去渲染对应的组件,若组件没有定义,则报错\n\n### Expected behavior\n\n我觉得这个在编译的时候做一下处理,要兼容md通用格式\n\n### System Info\n\n```Text\nindex.md:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of \"text/html\". Strict MIME type checking is enforced for module scripts per HTML spec.\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1280\" alt=\"Snipaste_2024-12-21_01-08-57\" src=\"https://github.com/user-attachments/assets/439fc447-d419-4705-ad57-66aa6b94731a\" />\r\n\u003Cimg width=\"1280\" alt=\"Snipaste_2024-12-21_01-07-28\" src=\"https://github.com/user-attachments/assets/ea971ff8-985c-40af-a967-4e79426185f8\" />\r\n\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.",[2948],{"name":2886,"color":2887},4438,"关于在vitepress1.5version中,使用markdown文本中出现 `style={{key:value}}` 有双重括号的时候就会报错404","2024-12-28T04:42:49Z","https://github.com/vuejs/vitepress/issues/4438",0.7712824,{"description":2955,"labels":2956,"number":2957,"owner":2875,"repository":2876,"state":2897,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Is your feature request related to a problem? Please describe.\n\ncurrently, when nav link is for example, https://github.com, it opens a new tab\n\n### Describe the solution you'd like\n\nin some cases, we want the link to be opened at the same tab, so something like:\r\n\r\nnav: [\r\n { text: 'Configs', link: 'https://github.com', target: '_self' }\r\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.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.",[],1212,"nav support target: '_self'","2023-03-18T00:04:20Z","https://github.com/vuejs/vitepress/issues/1212",0.77390885,["Reactive",2963],{},["Set"],["ShallowReactive",2966],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fDqh_H-WV-XsLEOuKzbi8ayUj7tc6ZmEsijNqhF212do":-1},"/vuejs/vitepress/1418"]