ArcGIS\r\n details: Use the ArcGIS Maps SDK for JavaScript to build compelling web apps that unlock your data’s potential with interactive user experiences and stunning 2D and 3D visualizations.\r\n link: https://developers.arcgis.com/javascript/latest/\r\n target: \"_blank\"\r\n```\r\nIt runs well in dev, but when I deployed on gh-pages in a custom repository, the site comes like \\\u003Cusername\\>.github.io/\\\u003Crepo\\>/xxx.So I set base option in ./docs/.vitepress/config.mts, the logo.png runs well under this option.but in `index.md>home layout>features`,it didn't work.\r\nif add a \\\u003Crepo\\> before src link, worked but I should change it every time when add or remove a feature:\r\n```md\r\nfeatures:\r\n - title: \u003Cimg src= \"/gest_webgis/imgs/ArcGIS.png\" alt=\"ArcGIS\" class=\"inline-block\"/>ArcGIS\r\n details: Use the ArcGIS Maps SDK for JavaScript to build compelling web apps that unlock your data’s potential with interactive user experiences and stunning 2D and 3D visualizations.\r\n link: https://developers.arcgis.com/javascript/latest/\r\n target: \"_blank\"\r\n```\r\nHow can I use a `withBase` helper in vitepress within formatter in md files?\r\n\r\n### Reproduction\r\n\r\nwrite an img tag in `home layout > features>title`,set base option in ./docs/.vitepress/index.{js,mts}\r\n\r\n\r\n### Expected behavior\r\n\r\nthe /imgs/xxx.png should automatically change into ${baseUrl}/imgs/xxx.png at runtime or use withBase helper in home features\r\n\r\n### System Info\r\n\r\n```Text\r\nwin11, gitpub pages\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.",[2945],{"name":2904,"color":2905},3139,"How to use a `withBase` helper in vitepress within formatter in md files?","2023-11-02T00:04:19Z","https://github.com/vuejs/vitepress/issues/3139",0.776744,{"description":2952,"labels":2953,"number":2954,"owner":2866,"repository":2867,"state":2868,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### 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.7785127,["Reactive",2960],{},["Set"],["ShallowReactive",2963],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f1Rv5taeCWhZX9kEe31GdzS6hrkEmsScITHAHoM8WKhc":-1},"/vuejs/vitepress/3705"]