```\r\n\r\nIt doesn't seem to be correct:\r\n\r\n\r\n\r\nHow to make it look correct, just like on the homepage?:\r\n\r\n\r\n\r\n",[2881],{"name":2868,"color":2869},4273,"How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.71523476,{"description":2888,"labels":2889,"number":2894,"owner":2871,"repository":2872,"state":2873,"title":2895,"updated_at":2896,"url":2897,"score":2898},"### Describe the bug\n\n这个情况从中文用户使用中发现,也可能广泛存在于非英语键盘的用户中。输入关键字过程中,尝试给出的结果会中断拼写。\n\n### Reproduction\n\n1. 进入Vitrepress文档首页 https://vitepress.dev/zh/\r\n2. 触发打开搜索框\r\n3. 使用“微软输入法”并尝试**缓慢输入**`复用`,即按顺序输入`f`-`u`-`y`-`o`-`n`-`g`\n\n### Expected behavior\n\n希望能够顺畅的完成关键字输入\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.22631\r\n CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics\r\n Memory: 44.07 GB / 63.18 GB\r\n Binaries:\r\n Node: 20.10.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 10.2.5 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Chromium (121.0.2277.128)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-rc.44 => 1.0.0-rc.44\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.",[2890,2893],{"name":2891,"color":2892},"upstream","BF29ED",{"name":2868,"color":2869},3604,"algolia搜索框在输入关键字时会中断输入法拼写","2024-04-12T01:59:21Z","https://github.com/vuejs/vitepress/issues/3604",0.74391866,{"description":2900,"labels":2901,"number":2906,"owner":2871,"repository":2872,"state":2873,"title":2907,"updated_at":2908,"url":2909,"score":2910},"I hit another case of #449 by including the following in a markdown file. The workaround which linked to #662 worked for me. Perhaps this should be off by default? Or detect the compilation error and bring a suggestion? The XML I included seems pretty straightforward. Would have been very hard to diagnose if I hadn't been doing lots of searches against the issues here. \r\n\r\n```xml\r\n\u003Ckeyboard locale=\"mt\" conformsTo=\"techpreview\">\r\n \u003Ckeys>\r\n \u003Ckey id=\"hmaqtugha\" to=\"ħ\" />\r\n \u003Ckey id=\"that\" to=\"ថា\" />\r\n \u003C/keys>\r\n\r\n \u003Clayers form=\"hardware\">\r\n \u003Clayer id=\"base\">\r\n \u003Crow keys=\"hmaqtugha that\" />\r\n \u003C/layer>\r\n \u003C/layers>\r\n\r\n\u003C/keyboard>\r\n```\r\n\r\nSymptom is an error deep inside vue\r\n\r\n```\r\n5:26:34 PM [vitepress] Internal server error: Duplicate attribute.\r\n Plugin: vite:vue\r\n File: /Users/srl295/src/codehivetx.us/en/posts/2022-kbd-progress.md:22:69\r\n 22 | \u003Ckeys>\r\n 23 | \u003Ckey id=\"hmaqtugha\" to=\"ħ\" />\r\n 24 | \u003Ckey id=\"that\" to=\"ថា\" />\r\n | ^\r\n 25 | \u003C/keys>\r\n 26 | \r\n at createCompilerError (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:1327:17)\r\n at emitError (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2805:5)\r\n at Object.onattribnameend (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2290:7)\r\n at Tokenizer.handleAttrNameEnd (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:872:14)\r\n at Tokenizer.stateInAttrName (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:812:12)\r\n at Tokenizer.parse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:1065:16)\r\n at Object.baseParse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2844:13)\r\n at Object.parse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js:698:23)\r\n at Object.parse$2 [as parse] (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:1846:24)\r\n at createDescriptor (file:///Users/srl295/src/codehivetx.us/node_modules/@vitejs/plugin-vue/dist/index.mjs:74:43) (x2)\r\n```\r\n",[2902,2905],{"name":2903,"color":2904},"build","377ba8",{"name":2868,"color":2869},3401,"better stack trace / error message for markdown-it-attrs failures","2025-03-02T18:10:00Z","https://github.com/vuejs/vitepress/issues/3401",0.7554381,{"description":2912,"labels":2913,"number":2918,"owner":2871,"repository":2872,"state":2873,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Is your feature request related to a problem? Please describe.\n\nDue to my markdown file is particularly large, resulting in packaged js file and the corresponding html file size are close to 3M b, which in turn leads to the browser first screen rendering DOM size is too large.\n\n### Describe the solution you'd like\n\nIs it possible to reduce the size of the first screen html and lazy load the rest of the dom?\r\n\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n\u003Cimg width=\"368\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/73653404/afe26e27-6e7a-489d-983a-42a6acbfff8e\">\r\n\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.",[2914,2915],{"name":2868,"color":2869},{"name":2916,"color":2917},"perf","378A61",3509,"DOM is oversized","2025-03-02T18:09:47Z","https://github.com/vuejs/vitepress/issues/3509",0.75579274,{"description":2924,"labels":2925,"number":2926,"owner":2871,"repository":2872,"state":2927,"title":2928,"updated_at":2929,"url":2930,"score":2931},"### Describe the bug\r\n\r\nPossible similar issues:\r\n- https://github.com/vuejs/vitepress/issues/4099\r\n- https://github.com/vuejs/vitepress/issues/4167\r\n- https://github.com/vuejs/vitepress/issues/3780\r\n\r\n---\r\n\r\nHydration mismatch occurs only when reloading a specific page in the production build.\r\nIt can be reproduced locally as well.\r\nIt doesn’t happen in the development build, nor when navigating through the sidebar.\r\n\r\nhttps://github.com/user-attachments/assets/2bb6387c-2d62-4dc2-96e4-ecd5bdf3491f\r\n\r\n### Reproduction\r\n\r\nThis repository (my product)\r\n\r\nhttps://github.com/ubugeeei/reading-vuejs-core-vapor\r\n\r\n```sh\r\ngit clone https://github.com/ubugeeei/reading-vuejs-core-vapor\r\ncd reading-vuejs-core-vapor\r\nni\r\nDEBUG='*' nr build\r\nDEBUG='*' nr preview\r\n```\r\n\r\n---\r\n\r\n※ During the initial build, a fetch to GitHub will run, so it may take a little time.\r\n(From the second time onward, the cache will be used)\r\n\r\nThe plugin implementation is here.\r\nhttps://github.com/ubugeeei/reading-vuejs-core-vapor/tree/9fa8c614c6047241dc2a6bdac39dca1815318d6a/.vitepress/plugins/markdown-it/github\r\n\r\n### Expected behavior\r\n\r\nHydration should complete normally and the screen should render correctly even after reloading.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 13.2.1\r\n CPU: (12) arm64 Apple M2 Max\r\n Memory: 43.41 GB / 96.00 GB\r\n Shell: 3.6.1 - /opt/homebrew/bin/fish\r\n Binaries:\r\n Node: 20.16.0 - ~/.volta/tools/image/node/20.16.0/bin/node\r\n Yarn: 1.22.22 - ~/.volta/tools/image/yarn/1.22.22/bin/yarn\r\n npm: 10.8.1 - ~/.volta/tools/image/node/20.16.0/bin/npm\r\n pnpm: 9.7.1 - ~/.volta/tools/image/pnpm/9.7.1/bin/pnpm\r\n bun: 1.1.27 - ~/.bun/bin/bun\r\n Browsers:\r\n Chrome: 129.0.6668.70\r\n Safari: 16.3\r\n npmPackages:\r\n vitepress: ^1.3.4 => 1.3.4\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.",[],4231,"closed","Hydration mismatch only occurs when reloading in the production build.","2024-10-05T04:43:33Z","https://github.com/vuejs/vitepress/issues/4231",0.6790985,{"description":2933,"labels":2934,"number":2938,"owner":2871,"repository":2872,"state":2927,"title":2939,"updated_at":2940,"url":2941,"score":2942},"### Describe the bug\r\n\r\nYou can check Reproduction Url test.\r\n\r\nEverything works fine when I start the vite project(`apps/playground`) using `pnpm dev:playground`. It crashed when I started vitepress project(`apps/document`) using `pnpm dev:document`.\r\n\r\nMy monorepo project uses `node condition` to link the source code. You can check the `dev` field in `package.json` or `condition: [\"dev\"]` in `vite.config.ts` or `condition: [\"dev\"]` in `config.ts`.\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/i7eo/monorepo-vitepress-bug-report\r\n\r\n### Expected behavior\r\n\r\nStart normally like a vite project(`apps/playground`)\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.4.1\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 3.61 GB / 64.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node\r\n npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm\r\n pnpm: 9.1.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm\r\n Watchman: 2024.04.08.00 - /opt/homebrew/bin/watchman\r\n Browsers:\r\n Chrome: 124.0.6367.201\r\n Safari: 17.4.1\r\n Safari Technology Preview: 17.4\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.",[2935],{"name":2936,"color":2937},"bug: pending triage","e99695",3888,"Vitepress project in monorepo reports `Failed to resolve import \"xxx\"`","2024-05-22T04:41:52Z","https://github.com/vuejs/vitepress/issues/3888",0.70924455,{"description":2944,"labels":2945,"number":2947,"owner":2871,"repository":2872,"state":2927,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\n\n文章目录不显示一级标题\n\n### Reproduction\n\n```mts\r\nimport {withMermaid} from \"vitepress-plugin-mermaid\";\r\n// https://emersonbottero.github.io/vitepress-plugin-mermaid/guide/getting-started.html\r\n// https://vitepress.dev/reference/site-config\r\nimport {generateSidebar} from 'vitepress-sidebar';\r\n\r\nexport default withMermaid({\r\n title: \"DMP-Docs\",\r\n description: \"DMP-Docs\",\r\n themeConfig: {\r\n // https://vitepress.dev/reference/default-theme-config\r\n nav: [\r\n {text: 'Home', link: '/'},\r\n ],\r\n\r\n search: {\r\n provider: 'local'\r\n },\r\n sidebar: generateSidebar({\r\n documentRootPath: '/docs',\r\n }),\r\n socialLinks: [\r\n {icon: 'github', link: 'http://10.186.18.21/dmp-dev-newbie/caomingkang/DMP-DOC'}\r\n ],\r\n\r\n outline: 'deep'\r\n },\r\n // optionally, you can pass MermaidConfig\r\n mermaid: {\r\n // refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options\r\n },\r\n // optionally set additional config for plugin itself with MermaidPluginConfig\r\n mermaidPlugin: {\r\n class: \"mermaid my-class\", // set additional css classes for parent container\r\n },\r\n\r\n})\r\n\r\n\r\n\r\n\r\n\r\n\r\n```\n\n### Expected behavior\n\n显示一级目录导航\n\n### System Info\n\n```Text\nmacos 13\r\n \"vitepress\": \"^1.0.0-rc.29\",\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1159\" alt=\"Xnip2023-11-22_18-52-26\" src=\"https://github.com/vuejs/vitepress/assets/55651847/e1924277-32d5-45bb-a609-763b0e672075\">\r\n\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.",[2946],{"name":2936,"color":2937},3234,"文章目录不显示一级标题","2023-12-01T00:05:07Z","https://github.com/vuejs/vitepress/issues/3234",0.71425194,{"description":2953,"labels":2954,"number":2956,"owner":2871,"repository":2872,"state":2927,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\n\n\r\n\r\n\n\n### Reproduction\n\n1\n\n### Expected behavior\n\n1\n\n### System Info\n\n```shell\n1\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.",[2955],{"name":2936,"color":2937},1818,"markdown parse bug","2023-01-28T00:04:04Z","https://github.com/vuejs/vitepress/issues/1818",0.7259385,{"description":2962,"labels":2963,"number":2965,"owner":2871,"repository":2872,"state":2927,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### Describe the bug\n\n```\r\n1. **every**,判断是否所有元素都符合,需要每个都为true才返回true,否则返回false\r\n2. **some**,判断是否有元素符合,一旦遇到true则停止\r\n3. **map**,每个元素按function返回结果构成新数组\r\n4. **filter**,返回所有符合条件的元素构成的新数组\r\n5. **forEach**,单独执行每个元素,无返回\r\n```\r\n\r\nx Build failed in 38.07s\r\n✖ building client + server bundles...\r\nbuild error:\r\n[vite:vue] [plugin vite:vue] docs/web/Javascript数组.md (4:88): Duplicate attribute. \r\nfile: C:/git/21ido.com_vite/docs/web/Javascript数组.md:4:88\r\n[vite:vue] [plugin vite:vue] docs/web/Javascript数组.md (4:88): Duplicate attribute. \r\nfile: C:/git/21ido.com_vite/docs/web/Javascript数组.md:4:88\r\nSyntaxError: Duplicate attribute.\r\n at createCompilerError (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:1325:17)\r\n at emitError (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2788:5)\r\n at Object.onattribnameend (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2299:7)\r\n at Tokenizer.handleAttrNameEnd (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:876:14)\r\n at Tokenizer.stateInAttrName (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:816:12)\r\n at Tokenizer.parse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:1067:16)\r\n at Object.baseParse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2820:13)\r\n at Object.parse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-dom\\dist\\compiler-dom.cjs.prod.js:633:23)\r\n at Object.parse$2 [as parse] (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-sfc\\dist\\compiler-sfc.cjs.js:1853:24)\r\n at createDescriptor (file:///C:/git/21ido.com_vite/node_modules/@vitejs/plugin-vue/dist/index.mjs:64:43)\r\nerror Command failed with exit code 1.\r\n\r\n---\r\n\r\n```\r\n* **跑步鞋**,李宁的猫爪2代野外跑鞋,跑步爬山两不误\r\n* **蓝魔新V3**,30小时连续播放,加森海塞尔MX70运动耳塞\r\n* **Suunto T1心率表**,用了之后才知道我心率真TMD快。{% post_link 'Digital/Suunto_T1使用感受' %}\r\n* **极地贴身腰包**,跑步时再也不用担心钥匙手机会在裤袋摇来晃去了,很实用\r\n* **方巾**,绑在手上可以擦汗\r\n```\r\n\r\n[vite:vue] [plugin vite:vue] docs/Life/慢跑装备08年版.md (8:47): Duplicate attribute. \r\nfile: C:/git/21ido.com_vite/docs/Life/慢跑装备08年版.md:8:47\r\nSyntaxError: Duplicate attribute.\r\n at createCompilerError (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:1325:17)\r\n at emitError (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2788:5)\r\n at Object.onattribnameend (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2299:7)\r\n at Tokenizer.handleAttrNameEnd (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:876:14)\r\n at Tokenizer.stateInAttrName (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:816:12)\r\n at Tokenizer.parse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:1067:16)\r\n at Object.baseParse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:2820:13)\r\n at Object.parse (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-dom\\dist\\compiler-dom.cjs.prod.js:633:23)\r\n at Object.parse$2 [as parse] (C:\\git\\21ido.com_vite\\node_modules\\@vue\\compiler-sfc\\dist\\compiler-sfc.cjs.js:1853:24)\r\n at createDescriptor (file:///C:/git/21ido.com_vite/node_modules/@vitejs/plugin-vue/dist/index.mjs:64:43)\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. \n\n### Reproduction\n\nUsing a sequence followed by bold text will result in an error message\n\n### Expected behavior\n\nCan be nested for use\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz\r\n Memory: 5.42 GB / 15.86 GB\r\n Binaries:\r\n Node: 20.11.1 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 10.2.4 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Chromium (125.0.2535.67)\r\n Internet Explorer: 11.0.19041.4355\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.",[2964],{"name":2936,"color":2937},4043,"Serial number report error duplicate attribute","2024-07-24T04:42:05Z","https://github.com/vuejs/vitepress/issues/4043",0.7332163,["Reactive",2971],{},["Set"],["ShallowReactive",2974],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fn0CiAF8mribgdKD3GQc6ki4GvVUUn96I62le-HBBzYg":-1},"/vuejs/vitepress/4233"]