```\r\n\r\nIt doesn't seem to be correct:\r\n\r\n\r\n\r\nHow to make it look correct, just like on the homepage?:\r\n\r\n\r\n\r\n",[2909],{"name":2860,"color":2861},4273,"How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.6824085,{"description":2916,"labels":2917,"number":2921,"owner":2863,"repository":2864,"state":2865,"title":2922,"updated_at":2923,"url":2924,"score":2925},"### Describe the bug\r\n\r\nOpening or navigating to sidebar links should focus the sidebar item. (Similar to VSCode's `\"explorer.autoReveal\": true` setting) Currently if sidebar is really long or out of the view port, it's not possible to know where I'm at.\r\n\r\n### Reproduction\r\n\r\nExample 1\r\n- Go to https://vitepress.dev/guide/sitemap-generation\r\n- Scroll down the sidebar\r\n- Click on the Guide text in the nav bar\r\n- https://vitepress.dev/guide/what-is-vitepress page will be opened, but sidebar will stay in the position\r\n\r\nExample 2\r\n- Go to https://docs.meteor.com/packages/url.html\r\n- Page you're seeing is listed down in the **Packages > url** sidebar item. But sidebar scroll position won't move.\r\n\r\n### Expected behavior\r\n\r\nOpening sidebar link should focus on the sidebar item. If sidebar is long, it should scroll down the sidebar scroll position.\r\nExample: Opening this page would automatically scroll down the sidebar position https://learn.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/troubleshooting-type-providers \r\n\r\n### System Info\r\n\r\n```Text\r\nnpmPackages:\r\n vitepress: 1.4.1 => 1.4.1\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nNot sure if it should be considered as a feature request.\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.",[2918],{"name":2919,"color":2920},"bug: pending triage","e99695",4296,"Opening or navigating to sidebar links should focus/scroll to the sidebar item","2025-03-22T14:04:32Z","https://github.com/vuejs/vitepress/issues/4296",0.7099085,{"description":2927,"labels":2928,"number":2931,"owner":2863,"repository":2864,"state":2932,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Describe the bug\n\n`rewrite` rule doesn't work correctly when create new markdown file.\n\n### Reproduction\n\n1, Set `rewrite`\r\n\r\n```js\r\n// vitepress/config.js\r\nrewrite: [`en/:rest*`]: ':rest*'\r\n```\r\n\r\n2, Create new markdown file `docs/en/test.md`\r\n\r\n3, Expect visit file by url `/test`, but it redirect to `/en/test`.\r\n\r\n4, Restart dev server, problem resolved.\n\n### Expected behavior\n\nExpect `rewrite` rule work correctly when create new markdown file.\n\n### System Info\n\n```Text\nvitepress: 1.5.0\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.",[2929,2930],{"name":2919,"color":2920},{"name":2860,"color":2861},4385,"closed","Rewrite not work when create new markdown file","2025-03-08T04:41:55Z","https://github.com/vuejs/vitepress/issues/4385",0.6352126,{"description":2938,"labels":2939,"number":2940,"owner":2863,"repository":2864,"state":2932,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\n\nA markdown file with several dots `.` such as `software-1.2.3.md` is not properly routed and leads to a 404 error.\r\nI guess that the router assumes that there is a file named `/software-1.2.3` with the `.3` extension when using cleanUrls.\n\n### Reproduction\n\n1. Create a new VitePress project\r\n2. Create a new markdown file named `software-1.2.3.md` with some content.\r\n3. Create links the `/software-1.2.3` page in the `index.md` file. \r\n```md\r\n[/software-1.2.3](/software-1.2.3)\r\n[/software-1.2.3.md](/software-1.2.3.md)\r\n``` \r\n5. Enable `cleanUrls`.\r\n6. Click the links on the index page.\n\n### Expected behavior\n\nThe router should load the page `/software-1.2.3` when cleanUrls are active.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 11.7.10\r\n CPU: (4) x64 Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz\r\n Memory: 85.34 MB / 8.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 18.13.0 - /usr/local/bin/node\r\n npm: 9.8.1 - /usr/local/bin/npm\r\n pnpm: 8.9.1 - /usr/local/bin/pnpm\r\n Browsers:\r\n Chrome: 118.0.5993.117\r\n Safari: 16.6.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.25 => 1.0.0-rc.25\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.",[],3191,"Markdown files with several dots `.` in name are not routed","2023-11-26T00:04:52Z","https://github.com/vuejs/vitepress/issues/3191",0.6402588,{"description":2946,"labels":2947,"number":2949,"owner":2863,"repository":2864,"state":2932,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### Describe the bug\n\nI installed Vitepress, built then ran it locally following the documentation of Vercel and everything seemed fine. But when I deployed it to my personal Vercel, my site keeps loading the 404.html. When I visit the Output of Vercel, I couldn't find any index.html and only 404.html. \r\n\r\nHere is currently [the blog of mine](https://vitepress-doc-kappa.vercel.app/) that I deployed to Vercel.\r\n\r\nThis is my current source on Vercel:\r\n\r\n\r\nThis is my current output on Vercel:\r\n\r\n\r\n\n\n### Reproduction\n\nNot sure if this is the correct way to reproduce, but I'll list down the commands that I ran, from install command to deploy:\r\n\r\n```bash\r\nnpm add -D vitepress\r\nnpx vitepress init ./\r\nnpm run docs:build\r\nnpm run docs:preview\r\nvercel --prod\r\n```\n\n### Expected behavior\n\nPage should load index.html when visiting `/`.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Pentium(R) CPU G4560 @ 3.50GHz\r\n Memory: 2.27 GB / 7.96 GB\r\n Binaries:\r\n Node: 20.0.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.6.4 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (120.0.2210.133)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.39 => 1.0.0-rc.39\n```\n\n\n### Additional context\n\nI use a fresh setup of Vitepress and deploy to a Vercel setting using Node v20.x (which as mentioned on Vercel that is still in Beta). However I did try Node v18.x on Vercel and the error is the same. \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":2919,"color":2920},3460,"Site auto loads 404.html after deployed to Vercel","2024-01-24T00:04:46Z","https://github.com/vuejs/vitepress/issues/3460",0.64344096,{"description":2955,"labels":2956,"number":2960,"owner":2863,"repository":2864,"state":2932,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\r\n\r\nComponents at the start of a line/paragraph don't render their contents as Markdown despite other Markdown renders doing so.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-jgrywo?file=docs%2Findex.md\r\n\r\nLook at \"Some Markdown\" line. I expected it to render as Markdown...\r\n\r\n### Expected behavior\r\n\r\nIt should render as Markdown. When rendered by other systems at least it does. e.g. VS Code Markdown preview.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: latest => 1.2.3\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nVitePress:\r\n\r\n\r\nVS Code:\r\n\r\n\r\n\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.",[2957],{"name":2958,"color":2959},"wont fix","EDEED1",4017,"Components at the start of a line/paragraph don't render their contents as Markdown","2024-07-11T04:42:20Z","https://github.com/vuejs/vitepress/issues/4017",0.6440123,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f4fH8v6x2d2WIP4yGKwiZwVypMzMUwxa5A_5WoCw5qnY":-1},"/vuejs/vitepress/4399"]