\r\n \u003Cfigcaption align=\"center\">\r\n \u003Csmall style=\"opacity: 0.8\">${title}\u003C/small>\r\n \u003C/figcaption>\r\n \u003C/figure>`\r\n }\r\n return _super(tokens, idx, options, env, self)\r\n }\r\n }\r\n},\r\n..\r\n```\r\n\r\nThis is the **SERVER** rendered markup \r\n(or what I see when `CTRL+u`)\r\n\r\n```html\r\n\u003Cdiv>\r\n \u003Cp>z\u003C/p>\r\n \u003Cp>\u003Cimg src=\"/assets/vitepress-init.P2GuQSTo.jpg\" alt=\"\" />\u003C/p>\r\n \u003Cp>y\u003C/p>\r\n \u003Cp>\r\n \u003Cfigure>\r\n \u003Cimg src=\"/assets/colours.H7Z7cb1m.png\" alt=\"\" title=\"Test\" />\r\n \u003Cfigcaption align=\"center\">\u003Csmall style=\"opacity: 0.8;\">Test\u003C/small>\u003C/figcaption>\r\n \u003C/figure>\r\n \u003C/p>\r\n \u003Cp>x\u003C/p>\r\n\u003C/div>\r\n```\r\n\r\nThis is the **CLIENT** rendered markup\r\n(or what I see when I inspect in the browser `F12`)\r\n\r\n```html\r\n\u003Cdiv>\r\n \u003Cp>z\u003C/p>\r\n \u003Cp>\u003Cimg src=\"/assets/vitepress-init.P2GuQSTo.jpg\" alt=\"\" />\u003C/p>\r\n \u003Cp>y\u003C/p>\r\n \u003Cp>\u003C/p>\r\n \u003Cfigure>\r\n \u003Cimg src=\"/assets/colours.H7Z7cb1m.png\" alt=\"\" title=\"Test\" />\r\n \u003Cfigcaption align=\"center\">\u003Csmall style=\"opacity: 0.8;\">Test\u003C/small>\u003C/figcaption>\r\n \u003C/figure>\r\n\u003C/div>\r\n```\r\n\r\nSo looks like the client has problems rendering. The `\u003Cfigure>` should be inside the empty `\u003Cp>`, but it's not.\r\n\r\nI couldn't find in the core code where the server and client did the actual rendering, so I couldn't debug this further.\r\n\r\nAny help appreciated, thanks a lot\r\n\r\n\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nI would expect the server and client to render the same output\r\n\r\n### System Info\r\n\r\n```Text\r\nLinux\r\nVitePress v1.0.1\r\nNode 21.7.1\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.",[2944],{"name":2945,"color":2946},"bug: pending triage","e99695",3702,"closed","Hydration completed but contains mismatches","2024-05-01T04:42:08Z","https://github.com/vuejs/vitepress/issues/3702",0.6633159,{"description":2954,"labels":2955,"number":2957,"owner":2871,"repository":2872,"state":2948,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Describe the bug\n\nWhen I access URLs like /xx, the homepage always appears, which obviously should not happen. However, if I access URLs like /xx.html, the page renders normally. Currently, my project is deployed on Tencent Cloud.\r\nThe problem does not occur in the development environment, but only after the production deployment, when domain name resolution and Nginx forwarding are involved.\r\nBesides,if i click button to some url,it will show correctly . Only when I directly access the URL in the browser, the page rendering error occurs.\n\n### Reproduction\n\ngit clone https://gitee.com/CrazyClue/vitepress.git\r\nuse npm install & npm run build\r\nnginx:\r\n```\r\nserver {\r\n listen 443 ssl;\r\n server_name vite.kuaihe.tech;\r\n ssl_certificate /etc/letsencrypt/live/kuaihe.tech-0001/fullchain.pem;\r\n ssl_certificate_key /etc/letsencrypt/live/kuaihe.tech-0001/privkey.pem;\r\n\r\n location / {\r\n root /var/www/vitepress;\r\n index index.html;\r\n try_files $uri $uri/ /index.html;\r\n}\r\n}\r\n```\n\n### Expected behavior\n\nMy website can show correctly when i access url directly in the browser without “.html” . \n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 6.8 Ubuntu 24.04 LTS 24.04 LTS (Noble Numbat)\r\n CPU: (1) x64 INTEL(R) XEON(R) PLATINUM 8576C\r\n Memory: 5.50 GB / 7.38 GB\r\n Container: Yes\r\n Shell: 5.2.21 - /bin/bash\r\n Binaries:\r\n Node: 20.16.0 - /usr/local/bin/node\r\n Yarn: 1.22.22 - /usr/local/bin/yarn\r\n npm: 10.8.1 - /usr/local/bin/npm\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.",[2956],{"name":2945,"color":2946},4140," Error Rendering the Homepage when i use url like /x/xx","2024-08-23T04:42:14Z","https://github.com/vuejs/vitepress/issues/4140",0.7111751,{"description":2963,"labels":2964,"number":2967,"owner":2871,"repository":2872,"state":2948,"title":2968,"updated_at":2969,"url":2970,"score":2971},"### 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.",[2965,2966],{"name":2945,"color":2946},{"name":2868,"color":2869},3907,"Report an EBADPLATFORM error during installation on MacOS","2024-07-08T04:42:08Z","https://github.com/vuejs/vitepress/issues/3907",0.714793,["Reactive",2973],{},["Set"],["ShallowReactive",2976],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fY-CZ0q5g1EL0fEergVMimJzI5oCjhvvcqYUreMqiIIY":-1},"/vuejs/vitepress/4431"]