\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.",[2865,2868,2871],{"name":2866,"color":2867},"theme","0754FB",{"name":2869,"color":2870},"a11y","fbca04",{"name":2872,"color":2873},"stale","ededed",2930,"vuejs","vitepress","open","themeConfig.socialLinks.icon ","2024-02-02T09:23:16Z","https://github.com/vuejs/vitepress/issues/2930",0.7432687,{"description":2883,"labels":2884,"number":2886,"owner":2875,"repository":2876,"state":2887,"title":2888,"updated_at":2889,"url":2890,"score":2891},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://vitepress.vuejs.org/\n\n### Expected behavior\n\ncorrect positioning\n\n### System Info\n\n```shell\nMicrosoft Edge\r\nVersion 110.0.1587.57 (Official build) (64-bit)\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2885],{"name":2866,"color":2867},2027,"closed","[DOC bug]error URL navigation","2023-03-18T00:04:21Z","https://github.com/vuejs/vitepress/issues/2027",0.5996194,{"description":2893,"labels":2894,"number":2895,"owner":2875,"repository":2876,"state":2887,"title":2896,"updated_at":2897,"url":2898,"score":2899},"### Is your feature request related to a problem? Please describe.\n\nWe have a relatively large documentation project with a lot of links between pages. The fact that Vitepress validates inter-document links and fails to build if there are errors while printing detailed information - that's great.\r\n\r\nHowever, it doesn't validate links to anchors within pages, like `refer to [Schema API](./api.md#schema)`. IDEs (VS Code & Web Storm) can't do this as well, also taking into account that they might have their own \"slugify\" mechanism for anchors. Also, I can't find markdown linting for that.\r\n\n\n### Describe the solution you'd like\n\nI did some research, and I found that it is now possible to get anchors data with the `markdown.anchor.callback` configuration option. I can't build my own validation on top of that because this callback doesn't give any information about the page it is executed for. I think Vitepress can use this option internally to collect all anchors for each page and validate all inter-page (and even in-page!) anchor links and throw an error / print a warning / give an opportunity to configure the behaviour for that case.\r\n\r\nI believe that this feature will improve the quality of Vitepress-based projects and will help developers keep anchor links up-to-date. Though, there might be design limitations I am not aware of that don't allow this feature to exist, at least as a default behaviour.\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.",[],2176,"Validate anchor links","2023-04-11T00:04:26Z","https://github.com/vuejs/vitepress/issues/2176",0.7093688,{"description":2901,"labels":2902,"number":2906,"owner":2875,"repository":2876,"state":2887,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Describe the bug\r\n\r\nnew version's issue.\r\n[Vite Doc] https://vitepress.vuejs.org/guide/getting-started was build by .49,\r\n\r\nAt the same time, the problem is that the search jump fails because anchors are not positioned correctly.\r\n\r\n[Vue Doc]https://vuejs.org/guide/essentials/event-handling.html#method-handlers build by .29 ,it's normal.\r\n\r\n### Reproduction\r\n\r\nin production \r\nhttps://vitepress.vuejs.org/guide/getting-started\r\n\r\n### Expected behavior\r\n\r\nURL can correctly locate the element \r\n\r\n\r\n### System Info\r\n\r\n```shell\r\nbrowser: Microsoft Edge\r\nVersion 110.0.1587.57 (Official build) (64-bit)\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.",[2903],{"name":2904,"color":2905},"bug: pending triage","e99695",2023,"[DOC BUG] url not changing when scrolling side navbar and url jump failure","2023-03-10T00:04:38Z","https://github.com/vuejs/vitepress/issues/2023",0.71542895,{"description":2912,"labels":2913,"number":2917,"owner":2875,"repository":2876,"state":2887,"title":2918,"updated_at":2919,"url":2920,"score":2921},"### Describe the bug\n\nMy site is showing these two errors in the console:\n\n> A preload for 'https://.../assets/app.BXR81nYj.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.\n\n> The resource https://.../assets/app.BXR81nYj.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.\n\nIs there a fix or workaround for this? The closest related issue I was able to find was https://github.com/vercel/next.js/discussions/16850\n\nI'm using vitepress v1.6.3.\n\n### Reproduction\n\nI wasn't able to reproduce the issue in vitepress.new or my local dev server -- these errors only show up on production when deployed to Cloudflare Pages.\n\n### Expected behavior\n\nNo errors should be shown.\n\n### System Info\n\n```Text\nSystem:\n OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)\n CPU: (16) x64 AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics\n Memory: 22.94 GB / 29.21 GB\n Container: Yes\n Shell: 5.2.21 - /bin/bash\n Binaries:\n Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node\n npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm\n bun: 1.2.4 - ~/.bun/bin/bun\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\n```\n\n### Additional context\n\nWhen I first started using vitepress (a version before v1.5.0), I did not see any errors.\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.",[2914],{"name":2915,"color":2916},"need more info","bdbefc",4714,"Compiled assets/app.js file found but not used errors","2025-04-23T04:40:05Z","https://github.com/vuejs/vitepress/issues/4714",0.718457,{"description":2923,"labels":2924,"number":2926,"owner":2875,"repository":2876,"state":2887,"title":2927,"updated_at":2928,"url":2929,"score":2930},"### Describe the bug\n\n只是开启本地搜索未做任何更改\r\n\r\n\r\n\n\n### Reproduction\n\n\n\n### Expected behavior\n\n\n\n### System Info\n\n```shell\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2925],{"name":2904,"color":2905},2287,"貌似从7.3开始本地搜索报错","2023-05-05T00:04:14Z","https://github.com/vuejs/vitepress/issues/2287",0.7430218,{"description":2932,"labels":2933,"number":2935,"owner":2875,"repository":2876,"state":2887,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Describe the bug\n\n当没有sidebar,有footer和outline时,滚动轴在底部,outline将会显示异常\n\n### Reproduction\n\n\r\n\n\n### Expected behavior\n\n修复outline显示异常,固定在原位不动\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz\r\n Memory: 8.82 GB / 15.69 GB\r\n Binaries:\r\n Node: 16.17.0 - D:\\developer_tools\\nodejs\\node.EXE\r\n npm: 8.19.1 - D:\\developer_tools\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0)\r\n Internet Explorer: 11.0.22000.120\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2934],{"name":2866,"color":2867},1464,"outline显示异常","2023-01-21T14:22:49Z","https://github.com/vuejs/vitepress/issues/1464",0.7452073,{"description":2941,"labels":2942,"number":2947,"owner":2875,"repository":2876,"state":2887,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\r\n\r\nWhen using the local search (`search: { provider: \"local\" },`), the highlighted text is green instead of the brand colour:\r\n\r\n\u003Cimg width=\"1121\" alt=\"Screenshot 2023-09-03 at 19 05 58\" src=\"https://github.com/vuejs/vitepress/assets/64841595/b19fef35-9fd4-4fd9-a784-da3b48617fbc\">\r\n\r\n\r\n### Reproduction\r\n\r\n`npx vitepress init`.\r\n\r\nAdd `search: { provider: \"local\" },` to themconfig. \r\n\r\nSearch for the string `api`. \r\n\r\nNote: It's not reproducible on the Vitepress example site (`http://vitepress.dev`) as it doesn't use the local provider.\r\n\r\n### Expected behavior\r\n\r\nShould be a colour matching the brand colours\r\n\r\n### System Info\r\n\r\n```sh\r\n`\"vitepress\": \"^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.",[2943,2944],{"name":2866,"color":2867},{"name":2945,"color":2946},"contribution welcome","11E4B8",2902,"Local search has wrong colour on highlighted text","2023-09-18T00:04:19Z","https://github.com/vuejs/vitepress/issues/2902",0.7479168,{"description":2953,"labels":2954,"number":2958,"owner":2875,"repository":2876,"state":2887,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\n单击 AntDesignVue Pagination 组件某页进行切换时,会导致当前页面会滚动到 Top。\n\n### Reproduction\n\n后排查发现 \\\u003Ca rel=\"nofollow\"> 这种也会起到锚链接的作用。但在其他非 vitepress 的 SPA 页面中使用,却不会有这个影响。我不太理解。\n\n### Expected behavior\n\n消除 \\\u003Ca rel=\"nofollow\"> 本不该有的 锚链接影响。\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.5\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 2.63 GB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node\r\n Yarn: 1.22.22 - /usr/local/bin/yarn\r\n npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm\r\n pnpm: 9.2.0 - /usr/local/bin/pnpm\r\n bun: 1.1.12 - /usr/local/bin/bun\r\n Browsers:\r\n Chrome: 125.0.6422.142\r\n Safari: 17.5\r\n npmPackages:\r\n vitepress: ^1.2.3 => 1.2.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.",[2955],{"name":2956,"color":2957},"client","1AA9E5",3950,"使用 AntDesignVue Pagination 组件中,发现单击某个页数切换,会导致页面会回滚到 Top","2024-06-17T04:43:00Z","https://github.com/vuejs/vitepress/issues/3950",0.74951535,{"description":2964,"labels":2965,"number":2966,"owner":2875,"repository":2876,"state":2887,"title":2967,"updated_at":2968,"url":2969,"score":2970},"### Describe the bug\n\n如果nav配置了不同的url query但是是相同的url path,点击后浏览器地址栏不会变化\n\n### Reproduction\n\n```js\r\n{\r\n nav: [\r\n {\r\n text: 'test', items: [\r\n { text: 'a', link: '/?tag=a' },\r\n { text: 'b', link: '/?tag=b' },\r\n ]\r\n }\r\n ]\r\n}\r\n```\n\n### Expected behavior\n\n浏览器地址栏做出相应变化\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 10.15.7\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 367.99 MB / 32.00 GB\r\n Shell: 5.7.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.1.0 - ~/.nvm/versions/node/v16.1.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.1.0/bin/yarn\r\n npm: 7.12.1 - ~/.nvm/versions/node/v16.1.0/bin/npm\r\n Watchman: 2021.08.02.00 - /usr/local/bin/watchman\r\n Browsers:\r\n Chrome: 103.0.5060.134\r\n Safari: 13.1.3\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],1107,"如果nav配置了不同的url query但是是相同的url path,点击后浏览器地址栏不会变化","2023-01-21T14:28:54Z","https://github.com/vuejs/vitepress/issues/1107",0.749521,["Reactive",2972],{},["Set"],["ShallowReactive",2975],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f03glj-4jcm96GWWAQb5QYaKawgEajKXR-oAHh15PoOo":-1},"/vuejs/vitepress/469"]