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.",[2897],{"name":2898,"color":2899},"bug: pending triage","e99695",3139,"closed","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.67096597,{"description":2907,"labels":2908,"number":2909,"owner":2872,"repository":2873,"state":2901,"title":2910,"updated_at":2911,"url":2912,"score":2913},"### Is your feature request related to a problem? Please describe.\n\nLet's say we got a folder structure like this:\r\n\r\n\r\n└─ foo\r\n ├─ 1.0.0.md\r\n ├─ 2.0.0.md\r\n └─ 3.0.0.md\r\n\r\nRight now we would have routes like:\r\n `/foo/1.0.0.html`\r\n `/foo/2.0.0.html`\r\n `/foo/3.0.0.html`\r\n\r\nI'd like to also have a route or alias like the following: `/foo/latest` which will point to the latest version (this can all be determined on build time by looking at the file, I already have a function that gives me the latest \"route\", in this case `/foo/3.0.0.html`.\r\n\r\nHow can I make this `/foo/latest` route exist and be an alias to the one I wanted?\n\n### Describe the solution you'd like\n\nAllow us to define route aliases or redirects\n\n### Describe alternatives you've considered\n\nI've tried with rewrites but that allowed me to make the latest version redirected to /latest instead. I want the reverse.\n\n### Additional context\n\nIf this is not something you think vitepress should have because it's not SSG friendly (there is no latest.html file) then I understand.\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.",[],2922,"Route Alias or Redirect","2023-09-16T00:04:02Z","https://github.com/vuejs/vitepress/issues/2922",0.67924696,{"description":2915,"labels":2916,"number":2918,"owner":2872,"repository":2873,"state":2901,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Describe the bug\n\n```\r\n\u003Ccode>infixl + *\u003C/code>\r\n\u003Ccode>*\u003C/code>\r\n```\r\n\r\nwill break compilation (`vitepress build src`) with `Element is missing end tag.` error, and the reason is that there are two `*`. Putting the above code in a markdown file in any project should reproduce it, I think, although I haven't tested. Let me know if you can't reproduce.\r\n\r\nMy config:\r\n\r\n```json\r\n \"devDependencies\": {\r\n \"@types/markdown-it-footnote\": \"^3.0.4\",\r\n \"@vitejs/plugin-vue-jsx\": \"^4.1.1\",\r\n \"vitepress\": \"1.5.0\",\r\n \"vue\": \"^3.5.13\"\r\n },\r\n```\n\n### Reproduction\n\nDescribed above\n\n### Expected behavior\n\nCompile\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H\r\n Memory: 4.70 GB / 7.61 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 19.9.0 - /usr/bin/node\r\n Yarn: 1.22.22 - ~/.local/share/pnpm/yarn\r\n npm: 9.6.3 - /usr/bin/npm\r\n npmPackages:\r\n vitepress: 1.5.0 => 1.5.0\r\n```\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.",[2917],{"name":2898,"color":2899},4426,"Element is missing end tag with two tags with astericks in both","2024-12-23T04:43:48Z","https://github.com/vuejs/vitepress/issues/4426",0.682466,{"description":2924,"labels":2925,"number":2929,"owner":2872,"repository":2873,"state":2901,"title":2930,"updated_at":2931,"url":2932,"score":2933},"### Describe the bug\n\nMy markdown text:\r\n\r\n\u003Cimg width=\"1015\" alt=\"image\" src=\"https://user-images.githubusercontent.com/80906525/155890963-b51635a5-4b51-47c7-a7c2-b1236c756a4b.png\">\r\n\r\n\r\n```md\r\n# Test\r\n\r\nYou can use Vue-style interpolation in markdown, such as `{{ 1 + 1 }}`.\r\n\r\n```\r\n\r\n\r\nBut it rendered as:\r\n\r\n\u003Cimg width=\"674\" alt=\"image\" src=\"https://user-images.githubusercontent.com/80906525/155890922-5e57942a-b66d-4cab-9fd6-c85fcea7ddf4.png\">\r\n\r\n\r\n\n\n### Reproduction\n\n1. Create a vitepress project;\r\n2. Add a index.md file and input text:\r\n\r\n```md\r\n# Test\r\n\r\nYou can use Vue-style interpolation in markdown, such as `{{ 1 + 1 }}`.\r\n\r\n```\n\n### Expected behavior\n\n# Test\r\n\r\nYou can use Vue-style interpolation in markdown, such as `{{ 1 + 1 }}`.\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.2.1\r\n CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz\r\n Memory: 16.68 MB / 8.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 16.13.1 - /usr/local/bin/node\r\n npm: 8.1.2 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 98.0.4758.109\r\n Safari: 15.3\r\n npmPackages:\r\n vitepress: ^0.22.3 => 0.22.3\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.",[2926],{"name":2927,"color":2928},"question","5D5FAE",559,"Why my Vue-style interpolation `{{ 1 + 1 }}` rendered as `2` ?","2023-01-21T16:04:19Z","https://github.com/vuejs/vitepress/issues/559",0.68525624,{"description":2935,"labels":2936,"number":2941,"owner":2872,"repository":2873,"state":2901,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### Describe the bug\n\nWhen sidebar is not present, the page is not scrolled and outline is scrolled down, it overflows the navbar.\r\n\r\n \r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-v81ufa\r\n\r\n1. Make sure width is high enough so that outline is shown\r\n2. Without scrolling the main page content hover over the outline and scroll down\r\n3. Observe that the outline overflows the navbar\n\n### Expected behavior\n\nOutline is clipped when over navbar in the same way when sidebar is present.\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz\r\n Memory: 45.66 GB / 63.92 GB\r\n Binaries:\r\n Node: 18.2.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 9.6.6 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 113.0.5672.127\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50)\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.1 => 1.0.0-beta.1\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.",[2937,2938],{"name":2883,"color":2884},{"name":2939,"color":2940},"contribution welcome","11E4B8",2442,"Outline overflows navbar when sidebar not present","2023-08-16T00:04:22Z","https://github.com/vuejs/vitepress/issues/2442",0.6880232,{"description":2947,"labels":2948,"number":2949,"owner":2872,"repository":2873,"state":2901,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### Is your feature request related to a problem? Please describe.\n\nNot really, but there's a related issue: https://github.com/vuejs/vitepress/issues/2629\n\n### Describe the solution you'd like\n\nA configuration option to hide all files in the public directory from minisearch.\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.",[],2655,"Don't display files in public directory in minisearch","2023-07-27T00:04:19Z","https://github.com/vuejs/vitepress/issues/2655",0.6882589,{"description":2955,"labels":2956,"number":2957,"owner":2872,"repository":2873,"state":2901,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Is your feature request related to a problem? Please describe.\n\nI manage a team responsible for generating documentation, and we have an automated build process triggered by a GitHub webhook. If any of my team members accidentally push a page with an invalid asset, it halts the entire documentation build process.\r\n\r\nYou already have the option \"ignoreDeadLinks\", so a inconsistent build is already a possibility taken into account by your developer team. If we can have broken links, why can't we have broken assets? Current behavior seems inconsistent.\n\n### Describe the solution you'd like\n\nSome way to build my site, even if there are inconsistencies in the documentation or assets.\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.",[],3085,"Possibility of building with missing assets","2023-10-22T00:04:49Z","https://github.com/vuejs/vitepress/issues/3085",0.6919092,{"description":2963,"labels":2964,"number":2968,"owner":2872,"repository":2873,"state":2901,"title":2969,"updated_at":2970,"url":2971,"score":2972},"### 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.",[2965],{"name":2966,"color":2967},"client","1AA9E5",3950,"使用 AntDesignVue Pagination 组件中,发现单击某个页数切换,会导致页面会回滚到 Top","2024-06-17T04:43:00Z","https://github.com/vuejs/vitepress/issues/3950",0.6977459,["Reactive",2974],{},["Set"],["ShallowReactive",2977],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fb_klpS5Gde4B4CC3nYp0c_kRV4yAxlM-AoUJJfiXp-8":-1},"/vuejs/vitepress/4217"]