```\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",[3043],{"name":3027,"color":3028},4273,"How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.7606675,{"description":3050,"labels":3051,"number":3056,"owner":3033,"repository":3034,"state":3035,"title":3057,"updated_at":3058,"url":3059,"score":3060},"### Is your feature request related to a problem? Please describe.\n\nI would like to have option to set separator/delimiter between nav links, the same that is created between nav links, theme selectorr, social links, etc.\n\n### Describe the solution you'd like\n\nIt could be smth like this:\r\n\r\n```js\r\n nav: [\r\n { text: 'Guide', link: '/guide' },\r\n { text: 'Config', link: '/config' },\r\n { type: 'separator' },\r\n { text: 'Something', link: '/something' },\r\n ]\r\n ```\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.",[3052,3055],{"name":3053,"color":3054},"theme","0754FB",{"name":3027,"color":3028},3407,"Add separator/delimiter between nav links","2025-03-02T18:09:58Z","https://github.com/vuejs/vitepress/issues/3407",0.78283733,{"description":3062,"labels":3063,"number":3067,"owner":3033,"repository":3034,"state":3035,"title":3068,"updated_at":3069,"url":3070,"score":3071},"### Describe the bug\r\n\r\nOpening or navigating to sidebar links should focus the sidebar item. (Similar to VSCode's `\"explorer.autoReveal\": true` setting) Currently if sidebar is really long or out of the view port, it's not possible to know where I'm at.\r\n\r\n### Reproduction\r\n\r\nExample 1\r\n- Go to https://vitepress.dev/guide/sitemap-generation\r\n- Scroll down the sidebar\r\n- Click on the Guide text in the nav bar\r\n- https://vitepress.dev/guide/what-is-vitepress page will be opened, but sidebar will stay in the position\r\n\r\nExample 2\r\n- Go to https://docs.meteor.com/packages/url.html\r\n- Page you're seeing is listed down in the **Packages > url** sidebar item. But sidebar scroll position won't move.\r\n\r\n### Expected behavior\r\n\r\nOpening sidebar link should focus on the sidebar item. If sidebar is long, it should scroll down the sidebar scroll position.\r\nExample: Opening this page would automatically scroll down the sidebar position https://learn.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/troubleshooting-type-providers \r\n\r\n### System Info\r\n\r\n```Text\r\nnpmPackages:\r\n vitepress: 1.4.1 => 1.4.1\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nNot sure if it should be considered as a feature request.\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.",[3064],{"name":3065,"color":3066},"bug: pending triage","e99695",4296,"Opening or navigating to sidebar links should focus/scroll to the sidebar item","2025-03-22T14:04:32Z","https://github.com/vuejs/vitepress/issues/4296",0.7891582,{"description":3073,"labels":3074,"number":3077,"owner":3033,"repository":3034,"state":3035,"title":3078,"updated_at":3079,"url":3080,"score":3081},"### Is your feature request related to a problem? Please describe.\r\n\r\nNot problem-related.\r\n\r\n### Describe the solution you'd like\r\n\r\nAbility to specify an icon for the action buttons, e.g:\r\n\r\n\r\n```\r\nactions:\r\n - theme: brand\r\n text: lorem ipsum\r\n link: https://test.com\r\n icon:\r\n src: /test.svg\r\n```\r\n\r\n### Describe alternatives you've considered\r\n\r\nN/A.\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.",[3075,3076],{"name":3053,"color":3054},{"name":3027,"color":3028},3783,"[default theme] Icons on action buttons","2025-03-02T18:09:22Z","https://github.com/vuejs/vitepress/issues/3783",0.7892992,{"description":3083,"labels":3084,"number":3092,"owner":3033,"repository":3034,"state":3093,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\n\nwhen i make an obvious mistake in `[hello].paths.js` as a counterpart to the `[hello].md` dynamic route files, i just see a generic error message.\r\n\r\ni want vitepress to _actually show me an error message_ lol not just this generic message\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-32ue1q?file=docs%2F[hello].paths.js\r\n\r\n```js\r\n// [hello].paths.js\r\nimport { iDontExist } from 'node:silly';\r\n\r\nexport default {\r\n async paths() {},\r\n};\r\n```\n\n### Expected behavior\n\ni expect an error to be printed to the console similar to what happens if you do `node docs/[hello].paths.js`\r\n\r\n```js\r\nError [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:silly\r\n at __node_internal_ (https://vite32ue1q-hour.w-credentialless.staticblitz.com/blitz.09144545.js:36:5410)\r\n at new \u003Canonymous> (https://vite32ue1q-hour.w-credentialless.staticblitz.com/blitz.09144545.js:36:4172)\r\n at ESMLoader.\u003Canonymous> (https://vite32ue1q-hour.w-credentialless.staticblitz.com/blitz.09144545.js:189:3457)\r\n at ESMLoader.\u003Canonymous> (https://vite32ue1q-hour.w-credentialless.staticblitz.com/blitz.09144545.js:248:8318) {\r\n code: 'ERR_UNKNOWN_BUILTIN_MODULE'\r\n}\r\n```\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (4) 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: 9.4.2 - /usr/local/bin/npm\r\n pnpm: 8.9.2 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: latest => 1.0.0-rc.24\n```\n\n\n### Additional context\n\n\r\nnot very helpful 😢\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.",[3085,3088,3091],{"name":3086,"color":3087},"build","377ba8",{"name":3089,"color":3090},"contribution welcome","11E4B8",{"name":3027,"color":3028},3149,"closed","`[hello].paths.js` swallows error","2024-01-07T00:05:00Z","https://github.com/vuejs/vitepress/issues/3149",0.75326246,{"description":3099,"labels":3100,"number":3102,"owner":3033,"repository":3034,"state":3093,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### 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.",[3101],{"name":3065,"color":3066},4043,"Serial number report error duplicate attribute","2024-07-24T04:42:05Z","https://github.com/vuejs/vitepress/issues/4043",0.75828356,{"description":3108,"labels":3109,"number":3110,"owner":3033,"repository":3034,"state":3093,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Describe the bug\n\nTrying to build with `vite.build.ssr = false`, but it appears that VitePress continues to bundle everything as if preparing it to be served with a backend.\n\n### Reproduction\n\nBuild VitePress with `vite.build.ssr = false`\n\n### Expected behavior\n\nPaths will become absolute and referenced modules will be bundled with the dist, unless excluded with `rollupOptions.external`.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 13.5.1\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz\r\n Memory: 487.25 MB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\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: 9.8.1 - /usr/local/bin/npm\r\n pnpm: 8.7.6 - /usr/local/bin/pnpm\r\n Browsers:\r\n Safari: 16.6\r\n Firefox: 118.0.2\r\n Chrome: 118.0.5993.117\r\n npmPackages:\r\n vitepress: 1.0.0-rc.14 => 1.0.0-rc.14\n```\n\n\n### Additional context\n\nVitePress should respect disabling `SSR` to allow for hosting via CDN.\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.",[],3162,"VitePress does not honor `vite.build.ssr = false`","2023-12-03T00:04:50Z","https://github.com/vuejs/vitepress/issues/3162",0.76179975,{"description":3116,"labels":3117,"number":3119,"owner":3033,"repository":3034,"state":3093,"title":3120,"updated_at":3121,"url":3122,"score":3123},"### Describe the bug\n\nbuild error: TypeError: _ctx.a is not a function.\r\n\r\n\r\n\n\n### Reproduction\n\nYou can paste the follow txt in the markdown:\r\n\r\n```md\r\n$S_n = \\frac{{a(1 - r^n)}}{{1 - r}}$\r\n```\r\n\r\nand you will recevied a build error.\r\n\r\nBut, other Math Equations can normally build, like:\r\n\r\n```md\r\n$S_N$\r\n```\n\n### Expected behavior\n\nNormal output page, even if it does not render mathematical formulas.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics\r\n Memory: 6.04 GB / 15.37 GB\r\n Binaries:\r\n Node: 20.11.1 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 10.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.15.5 - C:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (123.0.2420.65)\r\n Internet Explorer: 11.0.19041.3636\r\n npmPackages:\r\n vitepress: ^1.0.1 => 1.0.1\n```\n\n\n### Additional context\n\nWhen I follow the step of [math-equations - docs] the error disappeared. \r\n\r\n\r\n[math-equations - docs]: https://vitepress.dev/guide/markdown#math-equations\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.",[3118],{"name":3065,"color":3066},3728,"build error: TypeError: _ctx.a is not a function","2024-04-28T12:25:17Z","https://github.com/vuejs/vitepress/issues/3728",0.76604635,{"description":3125,"labels":3126,"number":3128,"owner":3033,"repository":3034,"state":3093,"title":3129,"updated_at":3130,"url":3131,"score":3132},"### Describe the bug\n\n双重花括号在markdown文本中编译失败404,无法正确显示文本内容。\r\n\r\n\r\n\n\n### Reproduction\n\n## 4、jsx的语法规则\r\n\r\n- 定义虚拟DOM时,不要写括号\r\n- 标签中混入JS表达式时要用`{}`\r\n- 样式的类名指定不要用`class`,要用`className`\r\n- 内联样式,要用`style={{key:value}}`的形式去写\r\n- 只有一个根标签\r\n- 标签必须闭合\r\n- 标签首字母小写,则该标签会转为`html`中同名元素,若`html`中无该标签对应的同名元素则报错\r\n- 若标签首字母大写,`react`就去渲染对应的组件,若组件没有定义,则报错\n\n### Expected behavior\n\n我觉得这个在编译的时候做一下处理,要兼容md通用格式\n\n### System Info\n\n```Text\nindex.md:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of \"text/html\". Strict MIME type checking is enforced for module scripts per HTML spec.\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1280\" alt=\"Snipaste_2024-12-21_01-08-57\" src=\"https://github.com/user-attachments/assets/439fc447-d419-4705-ad57-66aa6b94731a\" />\r\n\u003Cimg width=\"1280\" alt=\"Snipaste_2024-12-21_01-07-28\" src=\"https://github.com/user-attachments/assets/ea971ff8-985c-40af-a967-4e79426185f8\" />\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.",[3127],{"name":3065,"color":3066},4438,"关于在vitepress1.5version中,使用markdown文本中出现 `style={{key:value}}` 有双重括号的时候就会报错404","2024-12-28T04:42:49Z","https://github.com/vuejs/vitepress/issues/4438",0.7666129,["Reactive",3134],{},["Set"],["ShallowReactive",3137],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fwDNehtNLOzDX8ZCDo5_btUR5IRfIyHPO7890cAAK4sE":-1},"/vuejs/vitepress/4010"]