'\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,"Custom element support","2023-01-21T14:34:18Z","https://github.com/vuejs/vitepress/issues/735",0.7069322,{"description":2934,"labels":2935,"number":2937,"owner":2875,"repository":2876,"state":2920,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### Is your feature request related to a problem? Please describe.\r\n\r\nYes, when I verify my documentation site at https://agnosticui.com/ with the [IBM Equal Access Accessibility Checker](https://chrome.google.com/webstore/detail/ibm-equal-access-accessib/lkcagbfjnkomcinoddgooolagloogehp?hl=en-US) it fails hard. This is unfortunate, because one of the things I'm trying to point out is that the UI component library offered is accessible. I lose credibility if the documentation site itself is not a11y compliant.\r\n\r\nI actually get even worse results when I scan the vitepress docs themselves. So while this is a feature request, I would also call it a bug. Lighthouse which I would call more permissive also shows errors in the Accessibility category (but if the IBM checker passes Lighthouse will too).\r\n\r\n### Describe the solution you'd like\r\n\r\nEnsure the code produced by Vitepress is a11y compliant.\r\n\r\nI saw violations with the following rules which can easily be cross-referenced at:\r\nhttps://www.ibm.com/able/requirements/requirements\r\n\r\n1.3.1 Info and Relationships\r\n1.4.3 Contrast (Minimum)\r\n2.4.1 Bypass Blocks\r\n2.5.3 Label in Name\r\n4.1.2 Name, Role, Value\r\n\r\n_Note: this is only from scanning the top-level page. I saw a couple of other warnings on other pages, but this is a good start._\r\n\r\n### Describe alternatives you've considered\r\n\r\nThere are no alternatives. These issues are making Vitepress generated sites less inclusive than they could be meaning certain site users are being excluded which is a real bummer since Vitepress is otherwise producing such lovely sites.\r\n\r\n### Additional context\r\n\r\n\r\n\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\r\n- [X] Read the [docs](https://vitepress.vuejs.org/).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/master/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2936],{"name":2866,"color":2867},466,"Make Vitepress Accessible","2023-02-04T00:04:08Z","https://github.com/vuejs/vitepress/issues/466",0.708918,{"description":2943,"labels":2944,"number":2945,"owner":2875,"repository":2876,"state":2920,"title":2946,"updated_at":2947,"url":2948,"score":2949},"### Describe the bug\n\nWhen placing an HTML file inside the `public` folder, creating a link to it and then clicking the link, the console fills with warnings and errors instead of navigating to the HTML file.\r\n\r\n\n\n### Reproduction\n\n1. Place an HTML file inside the public dir (e. .g. `public/api/index.html`)\r\n2. Inside a Markdown file, create a link to this HTML file:\r\n```\r\n[link](/api/)\r\n[link](/api/index)\r\n[link](/api/index.html)\r\n```\r\n3. Open the page and click the link\n\n### Expected behavior\n\nThe browser should navigate to the HTML file and display it full-size (essentially replacing the VitePress app)\r\n\r\nInterestingly: When accessing to the HTML page directly (`http://localhost:3000/api/index.html`) it renders the HTML page, so that part works.\r\nAlthough clicking the link and reloading (`CTRL+R`) renders the HTML page, but when clicking the browser's back button it just changes the URL and doesn't return to the VitePress application.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19042\r\n CPU: (12) x64 AMD Ryzen 5 1600X Six-Core Processor\r\n Memory: 7.92 GB / 15.95 GB\r\n Binaries:\r\n Node: 14.15.5 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.10 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 6.14.11 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.55)\r\n Internet Explorer: 11.0.19041.1\r\n npmPackages:\r\n vitepress: ^0.16.0 => 0.16.0\n```\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],360,"Linking to HTML file in public dir","2023-01-21T14:32:53Z","https://github.com/vuejs/vitepress/issues/360",0.71769714,{"description":2951,"labels":2952,"number":2956,"owner":2875,"repository":2876,"state":2920,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\r\n\r\nThe `\u003CContent />` component wraps the code with a \"position: relative\" styled div. \r\n\r\n\u003Cimg width=\"656\" alt=\"Screenshot 2023-07-30 at 9 43 37 PM\" src=\"https://github.com/vuejs/vitepress/assets/90354202/a7f83520-edc3-415d-b851-2487693e1ba9\">\r\n\r\n\r\n### Reproduction\r\n\r\nThe \u003CContent /> component wraps the code with a \"position: relative\" styled div. \r\n\r\n### Expected behavior\r\n\r\nThere is no documentation on how to disable that from happening and it shouldn't do that in the first place anyway. \r\n\r\n### System Info\r\n\r\n```sh\r\nv1.0.0-beta.7\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.",[2953],{"name":2954,"color":2955},"bug: pending triage","e99695",2712,"The \u003CContent /> component wraps the code with a \"position: relative\" styled div.","2023-08-11T00:04:38Z","https://github.com/vuejs/vitepress/issues/2712",0.71810514,{"description":2962,"labels":2963,"number":2965,"owner":2875,"repository":2876,"state":2920,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### Is your feature request related to a problem? Please describe.\n\nWhen creating a sidebar structure from anchor points in a single document (think a list of commands on a single page), Vitepress does not highlight the active anchor, and instead highlights the sidebar item clicked to navigate to the page (e.g. clicking on `help` navigates to `/commands/#help`)\r\n\r\n```\r\nhelp -> /commands/#help\r\n```\n\n### Describe the solution you'd like\n\n- support URL hash for sidebar active match\r\n- expose `activeMatch` with behavior similar to `DefaultTheme.NavItem`\n\n### Describe alternatives you've considered\n\nn/a\n\n### Additional context\n\nI may be able to implement this feature\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.",[2964],{"name":2866,"color":2867},1565,"support `activeMatch` for sidebar items, or match on URL hash","2023-08-13T00:04:23Z","https://github.com/vuejs/vitepress/issues/1565",0.7186477,["Reactive",2971],{},["Set"],["ShallowReactive",2974],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fU6rPDYLdSGjVBTIqDwQmyAsTL_zVnZPQ1ahpFn2J21Q":-1},"/vuejs/vitepress/2039"]