",[],4802,"配置完 algolia 搜索,检索不出任何内容","2025-06-22T01:00:42Z","https://github.com/vuejs/vitepress/issues/4802",0.70367193,{"description":3090,"labels":3091,"number":3093,"owner":3026,"repository":3027,"state":3028,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\n\nHello, I don't understand from the docs how an index should be built. If it is supposed to be automatically built, then it simply doesn't.\r\n\n\n### Reproduction\n\nJust set algolia following official docs.\n\n### Expected behavior\n\nSearch should provide results.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.3.1\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 99.66 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node\r\n Yarn: 1.22.15 - ~/.nvm/versions/node/v16.14.2/bin/yarn\r\n npm: 8.7.0 - ~/.nvm/versions/node/v16.14.2/bin/npm\r\n Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman\r\n Browsers:\r\n Chrome: 100.0.4896.127\r\n Firefox: 99.0.1\r\n Safari: 15.4\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.",[3092],{"name":3037,"color":3038},613,"[Algolia] Index creation","2023-01-21T14:35:51Z","https://github.com/vuejs/vitepress/issues/613",0.7058824,{"description":3099,"labels":3100,"number":3101,"owner":3026,"repository":3027,"state":3028,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### Describe the bug\n\nIn dev mode, the local search box throws an error in the browser console.\r\n\r\n```\r\ncaught (in promise) SyntaxError: The requested module '/node_modules/.pnpm/mark.js@8.11.1/node_modules/mark.js/dist/mark.js?v=e66c0727' does not provide an export named 'default' (at VPLocalSearchBox.vue:12:8)\r\n```\r\n\r\nWorks fine at build/deploy time.\r\n\r\nAny way we can make this work in dev mode?\n\n### Reproduction\n\nRun a brand new vitepress site with the getting started, enable local search and click the search box\n\n### Expected behavior\n\nAt least not throw an error, even better if there was some way to make it work.\n\n### System Info\n\n```shell\nNA\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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],2237,"Local search only works in deployed scenario","2023-04-24T00:04:03Z","https://github.com/vuejs/vitepress/issues/2237",0.71492124,{"description":3107,"labels":3108,"number":3109,"owner":3026,"repository":3027,"state":3028,"title":3110,"updated_at":3111,"url":3112,"score":3113},"### Describe the bug\n\nHeya, I'm experiencing a weird issue with Code Blocks which started by the beginning of this year after updating to a newer version from `1.3.2`.\nThe Highlighting used to work fine with an older version of vitepress but now it seems to be broken.\n\nResult right now:\n\n\n\nThe affected file is located here: https://github.com/AzonInc/Doorman/blob/master/docs/en/guide/firmware/additions.md\n\n### Reproduction\n\nCreate a Code Block using this MD:\n\n```yaml\nbinary_sensor: // [!code ++] // [!code focus]\n - platform: tc_bus // [!code ++] // [!code focus]\n name: \"Custom Command\" // [!code ++] // [!code focus]\n type: open_door // [!code ++] // [!code focus]\n address: 0 // [!code ++] // [!code focus]\n web_server: // [!code ++] // [!code focus]\n sorting_group_id: sorting_group_listeners // [!code ++] // [!code focus]\n```\n\n### Expected behavior\n\n// [!code ++] // [!code focus] shouldn't be visible and also not randomly applied.\n\n### System Info\n\n```Text\nSystem:\n OS: Windows 11 10.0.26120\n CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor\n Memory: 9.89 GB / 31.91 GB\n Binaries:\n Node: 21.1.0 - C:\\Program Files\\nodejs\\node.EXE\n Yarn: 1.22.17 - ~\\AppData\\Roaming\\npm\\yarn.CMD\n npm: 10.2.5 - C:\\Program Files\\nodejs\\npm.CMD\n pnpm: 6.11.0 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\n Browsers:\n Chrome: 135.0.7049.116\n Edge: Chromium (136.0.3240.29)\n npmPackages:\n vitepress: ^2.0.0-alpha.5 => 2.0.0-alpha.5\n```\n\n### Additional context\n\nAm I doing anything wrong or is it really broken?\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.",[],4729,"Code Block Highlighting is broken","2025-05-03T13:08:14Z","https://github.com/vuejs/vitepress/issues/4729",0.725598,["Reactive",3115],{},["Set"],["ShallowReactive",3118],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fcwrsnbk9sTBrrIyq5x2QCmq6BivvDM6-svCYmWhcYtY":-1},"/vuejs/vitepress/1970"]