\n\n\u003Cimg width=\"567\" height=\"319\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/d6990d7e-9beb-4a54-9db4-3c1d980b0882\" />\n\n### Expected behavior\n\nThe variables in title are replaced\n\n### System Info\n\n```Text\nSystem:\n OS: macOS 15.5\n CPU: (8) arm64 Apple M2\n Memory: 61.34 MB / 16.00 GB\n Shell: 5.9 - /bin/zsh\n Binaries:\n Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node\n npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm\n pnpm: 10.14.0 - /opt/homebrew/bin/pnpm\n bun: 1.2.19 - ~/.bun/bin/bun\n Browsers:\n Chrome: 139.0.7258.68\n Edge: 113.0.1774.57\n Safari: 18.5\n npmPackages:\n vitepress: 2.0.0-alpha.10 => 2.0.0-alpha.10\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.",[3213],{"name":3214,"color":3215},"bug: pending triage","e99695",4907,"The variable in the page title is not replaced under dynamic routing","2025-08-12T23:37:56Z","https://github.com/vuejs/vitepress/issues/4907",0.73833495,{"description":3222,"labels":3223,"number":3225,"owner":3152,"repository":3153,"state":3154,"title":3226,"updated_at":3227,"url":3228,"score":3229},"### Is your feature request related to a problem? Please describe.\n\nWhen viewing a certain part of content, if you want to view the corresponding translated chapter content and click the translation link to jump, if you bring the hash value, you can locate the content you want to view more quickly. I think this would be very convenient.\n\n### Describe the solution you'd like\n\nPerhaps we can monitor changes in hash values and dynamically update translation links, or we can also provide a configuration for users to configure themselves.\r\n\r\nI don’t seem to see the relevant configuration on the official website. If there is any relevant configuration, I haven’t found it. I hope I can get your tips. Thank you.\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.",[3224],{"name":3149,"color":3150},2958,"Can the hash value be included when the translation link jumps?","2025-03-02T18:10:51Z","https://github.com/vuejs/vitepress/issues/2958",0.7394859,{"description":3231,"labels":3232,"number":3233,"owner":3152,"repository":3153,"state":3234,"title":3235,"updated_at":3236,"url":3237,"score":3238},"### Describe the bug\n\nAsync content not taken in account\r\n\r\n```\r\n\r\n\u003Cscript setup>\r\nimport { ref, onBeforeMount, computed } from 'vue'\r\nconst body = `digraph G {\r\n Hello->World\r\n}`\r\nlet svg = ref('beforeMount')\r\nonBeforeMount(async ()=> {\r\n let response = await fetch(\"https://kroki.io//graphviz/svg\", {\r\n method: \"POST\", headers: {\r\n Accept: \"image/svg+xml\",\r\n \"Content-Type\": \"text/plain\"\r\n }, \r\n body: body\r\n })\r\n const s = await response.text()\r\n svg = s\r\n })\r\n\r\nconst computedSvg = computed(() => svg)\r\n\r\nconst methodSvg = async ()=> {\r\n let response = await fetch(\"https://kroki.io//graphviz/svg\", {\r\n method: \"POST\", headers: {\r\n Accept: \"image/svg+xml\",\r\n \"Content-Type\": \"text/plain\"\r\n }, \r\n body: body\r\n })\r\n const s = await response.text()\r\n return s\r\n }\r\n\r\n\u003C/script>\r\n\r\n\r\n## Embedded SVG\r\n\r\n\u003CSuspense>\r\n\u003Cdiv id='supense-svg' v-html='svg'>\u003C/div>\r\n\u003Cdiv id='supense-computed-svg' v-html='computedSvg'>\u003C/div>\r\n\u003Cdiv id='supense-method-svg' v-html='methodSvg()'>\u003C/div>\r\n\u003C/Suspense>\r\n\r\n\u003Cdiv id='svg' v-html='svg'>\u003C/div>\r\n\u003Cdiv id='computed-svg' v-html='computedSvg'>\u003C/div>\r\n\u003Cdiv id='method-svg' v-html='methodSvg()'>\u003C/div>\r\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-xeupqm?file=docs%2Findex.md\n\n### Expected behavior\n\nEmbedded svg\n\n### System Info\n\n```Text\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.18.0 - /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.14.0 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: latest => 1.0.0-rc.43\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.",[],3585,"closed","Async Content Issue","2024-02-27T00:05:54Z","https://github.com/vuejs/vitepress/issues/3585",0.69478554,{"description":3240,"labels":3241,"number":3244,"owner":3152,"repository":3153,"state":3234,"title":3245,"updated_at":3246,"url":3247,"score":3248},"### Describe the bug\r\n\r\nHi sir, When I tried to install vitepress by running the command `npm add -D vitepress`, \r\n\r\n\r\n\r\n\r\nit reports an error:\r\n```\r\nnpm error code EBADPLATFORM\r\nnpm error notsup Unsupported platform for esbuild-darwin-arm64@0.14.49: wanted {\"os\":\"darwin\",\"cpu\":\"arm64\"} (current: {\"os\":\"darwin\",\"cpu\":\"x64\"})\r\nnpm error notsup Valid os: darwin\r\nnpm error notsup Actual os: darwin\r\nnpm error notsup Valid cpu: arm64\r\nnpm error notsup Actual cpu: x64\r\nnpm error A complete log of this run can be found in: /Users/admin/.npm/_logs/2024-05-20T08_58_27_221Z-debug-0.log\r\n```\r\n\r\n\r\n\r\n\r\nHere is the log:\r\n[2024-05-20T08_58_27_221Z-debug-0.log](https://github.com/vuejs/vitepress/files/15375040/2024-05-20T08_58_27_221Z-debug-0.log)\r\n\r\n\r\n### Reproduction\r\n\r\nrun the command `npm add -D vitepress` on M1 Mac mini in VSCode\r\n\r\n### Expected behavior\r\n\r\nVitepress installed successfully.\r\n\r\n### System Info\r\n\r\n```Text\r\nMacOS 14.4.1 (23E224)\r\nMac mini M1, 2020\r\nVSCode info:\r\n\r\nVersion: 1.89.1 (Universal)\r\nCommit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685\r\nDate: 2024-05-07T05:14:24.611Z (1 wk ago)\r\nElectron: 28.2.8\r\nElectronBuildId: 27744544\r\nChromium: 120.0.6099.291\r\nNode.js: 18.18.2\r\nV8: 12.0.267.19-electron.0\r\nOS: Darwin arm64 23.4.0\r\n```\r\n\r\n\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.",[3242,3243],{"name":3214,"color":3215},{"name":3149,"color":3150},3907,"Report an EBADPLATFORM error during installation on MacOS","2024-07-08T04:42:08Z","https://github.com/vuejs/vitepress/issues/3907",0.7009903,["Reactive",3250],{},["Set"],["ShallowReactive",3253],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fo1NFP0ReRKpyAbWABZiF5RStDTeZJQ0l48x8oPs31NU":-1},"/vuejs/vitepress/3326"]