\n \u003Ca href=\"#alt-slug\">#\u003C/a>\n\u003C/h1>\n```\n\n\u003Cdetails>\u003Csummary>Current behavior\u003C/summary>\n\u003Cp>\n\n`# ` should result in \n```html\n\u003Ch1 id>\n \u003Cimg src=\"path\" alt=\"alt\" />\n \u003Ca href=\"#\">#\u003C/a>\n\u003C/h1>\n```\n\n\u003C/p>\n\u003C/details> \n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n(should work for `\u003Ch\u003C2-7>>` too)\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.",[],4561,"Feature | Image as headline should use alt slug as id","2025-02-23T04:43:39Z","https://github.com/vuejs/vitepress/issues/4561",0.7700571,{"description":3063,"labels":3064,"number":3068,"owner":3027,"repository":3028,"state":3041,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### Describe the bug\n\nIn a page with a lot of content, it is sometimes impossible to locate a specific location using #id. This may be caused by positioning before the page has fully loaded. Especially when the project is just started, use search to find particularly late content on a certain page (which has a lot of content).\n\n### Reproduction\n\n1. Start the project\r\n2. Use search to search for the title or content at the end of a page (with more content)\r\n3. Can locate the correct page, but cannot locate the content.\n\n### Expected behavior\n\nAfter searching, you can locate the specific location on the specific page.\r\n\n\n### System Info\n\n```Text\nwindows10,chrome120.0.6051.2\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.",[3065],{"name":3066,"color":3067},"question","5D5FAE",3089,"When there is too much content on the page, using #id may not allow you to locate the specific location.","2023-10-15T07:35:23Z","https://github.com/vuejs/vitepress/issues/3089",0.77473396,{"description":3074,"labels":3075,"number":3076,"owner":3027,"repository":3028,"state":3041,"title":3077,"updated_at":3078,"url":3079,"score":3080},"### Is your feature request related to a problem? Please describe.\n\nI want to vitepress cli support this feature to set some path for vitepress configuration. I search the vitepress docs and found nothing about it.\r\nHonestly, path \"./vitepress/config.ts\" is ugly to me.\n\n### Describe the solution you'd like\n\nLike that: vitepress --config yourConfigPath dev\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.",[],2084,"How can I change default config path, like /projectRoot/config/vitepress.config.ts.","2023-03-22T00:03:23Z","https://github.com/vuejs/vitepress/issues/2084",0.78151727,{"description":3082,"labels":3083,"number":3084,"owner":3027,"repository":3028,"state":3041,"title":3085,"updated_at":3086,"url":3087,"score":3088},"### Is your feature request related to a problem? Please describe.\r\n\r\nMultiple sidebars do not work with multiple locales\r\n\r\nMultiple sidebars work only for the root locale\r\n\r\n```js\r\nimport sidebar_es from \"./sidebar.es\";\r\nimport sidebar_en from \"./sidebar.en\";\r\nimport sidebar_subdir_es from \"./sidebar.subdir.es\";\r\nimport sidebar_subdir_en from \"./sidebar.subdir.en\";\r\n\r\nexport default defineConfig({\r\n locales: {\r\n root: {\r\n lang: \"sp\",\r\n label: \"Spanish\",\r\n themeConfig: {\r\n nav: nav_es,\r\n sidebar: {\r\n \"/\": sidebar_es,\r\n \"/subdir/\": sidebar_subdir_es,\r\n },\r\n },\r\n },\r\n en: {\r\n lang: \"en\",\r\n label: \"English\",\r\n themeConfig: {\r\n nav: nav_en,\r\n sidebar: {\r\n \"/\": sidebar_en,\r\n \"/subdir/\": sidebar_subdir_en,\r\n },\r\n },\r\n```\r\n\r\nIn this example `/en/subdir/` path shows default `sidebar_en` sidebar\r\n\r\n### Describe the solution you'd like\r\n\r\nMultiple sidebars should work for secondary locales\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\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.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3202,"i18n and multiple sidebars problem","2023-11-21T00:04:49Z","https://github.com/vuejs/vitepress/issues/3202",0.7826932,{"description":3090,"labels":3091,"number":3093,"owner":3027,"repository":3028,"state":3041,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nyarn run build\n\n### Expected behavior\n\nbuild succeeded\n\n### System Info\n\n```shell\nSystem: MacOS 13.1 (22C65)\r\nBrowser: Chrome 109.0.5414.119\r\nNode Version: v16.18.1\r\nYarn Version: 1.22.19\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.",[3092],{"name":3038,"color":3039},1895,"typeError [ERR_INVALID_FILE_URL_HOST]: File URL host must be \"localhost\" or empty on darwin","2023-03-21T00:04:01Z","https://github.com/vuejs/vitepress/issues/1895",0.7836449,{"description":3099,"labels":3100,"number":3102,"owner":3027,"repository":3028,"state":3041,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### 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.",[3101],{"name":3038,"color":3039},3460,"Site auto loads 404.html after deployed to Vercel","2024-01-24T00:04:46Z","https://github.com/vuejs/vitepress/issues/3460",0.7839806,{"description":3108,"labels":3109,"number":3111,"owner":3027,"repository":3028,"state":3041,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### Describe the bug\n\n如下图,我已经设置了type: module\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n自定义主题中这么写的,然后去构建就会报错\r\n我知道主要的原因应该在@arco-design/web-vue/es/icon,我尝试取消这个导入,然后发现\r\ntheme/index.js\r\n```js\r\nimport { h } from 'vue'\r\nimport DefaultTheme from 'vitepress/theme'\r\nimport ArcoVue from '@arco-design/web-vue'\r\nimport * as ElementPlusIcons from \"@element-plus/icons-vue\"\r\nimport ArcoVueIcon from \"@arco-design/web-vue/es/icon\"\r\nimport './style.css'\r\n\r\nexport default {\r\n extends: DefaultTheme,\r\n Layout: () => {\r\n return h(DefaultTheme.Layout, null, {\r\n // https://vitepress.dev/guide/extending-default-theme#layout-slots\r\n })\r\n },\r\n enhanceApp({ app, router, siteData }) {\r\n for (const [key, component] of Object.entries(ElementPlusIcons)) {\r\n app.component(\"eleIcon\" + key, component)\r\n }\r\n app.use(ArcoVueIcon)\r\n app.use(ArcoVue)\r\n }\r\n}\r\n```\n\n### Expected behavior\n\n希望能够正常构建项目\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700\r\n Memory: 5.27 GB / 31.75 GB\r\n Binaries:\r\n Node: 18.20.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.22 - C:\\Program Files\\nodejs\\yarn.CMD\r\n npm: 10.8.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 9.3.0 - C:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (126.0.2592.68)\r\n Internet Explorer: 11.0.22621.3527\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.",[3110],{"name":3038,"color":3039},3993,"开发环境正常运行,但是构建时会报错","2024-07-05T04:42:37Z","https://github.com/vuejs/vitepress/issues/3993",0.78643787,["Reactive",3117],{},["Set"],["ShallowReactive",3120],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fuyW72Fv__Qgt1y1EePY8Ox25IMek_q9Z2yeZb8cqDE8":-1},"/vuejs/vitepress/3228"]