\u003C/svg>',\r\n\r\n```\r\n\r\n### Expected behavior\r\n\r\nAdd `width=\"24\" height=\"24\" `attribute\r\nLike this\r\n```txt\r\n'\u003Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">' \r\n```\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Linux 6.3 Kali GNU/Linux Rolling 2023.3\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 8.21 GB / 15.24 GB\r\n Container: Yes\r\n Shell: 5.9 - /usr/bin/zsh\r\n Binaries:\r\n Node: 18.13.0 - /usr/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.2.0 - /usr/bin/npm\r\n Browsers:\r\n Chrome: 116.0.5845.179\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.10 => 1.0.0-rc.10\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.",[2879,2882,2885],{"name":2880,"color":2881},"theme","0754FB",{"name":2883,"color":2884},"a11y","fbca04",{"name":2866,"color":2867},2930,"themeConfig.socialLinks.icon ","2024-02-02T09:23:16Z","https://github.com/vuejs/vitepress/issues/2930",0.7521001,{"description":2892,"labels":2893,"number":2895,"owner":2869,"repository":2870,"state":2871,"title":2896,"updated_at":2897,"url":2898,"score":2899},"### Is your feature request related to a problem? Please describe.\n\nsomewhere, some error in .md files is so crazy, so can we add a close error-check options for markdown[.md] file? example for this:\r\n\r\n\n\n### Describe the solution you'd like\n\nadd a close error-check options for markdown[.md] file\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.",[2894],{"name":2866,"color":2867},2962,"To add a close error-check options for markdown[.md] file?","2023-11-25T08:12:22Z","https://github.com/vuejs/vitepress/issues/2962",0.7814027,{"description":2901,"labels":2902,"number":2907,"owner":2869,"repository":2870,"state":2871,"title":2908,"updated_at":2909,"url":2910,"score":2911},"### Is your feature request related to a problem? Please describe.\n\nI noticed that the search bar by default is pretty bad compared to the one in mkdocs, at least for me\r\n\n\n### Describe the solution you'd like\n\nadd lunr.js which has proven to be very good in conjunction with mkdocs and you hardly need to configure it extensively to get a good result\r\nhttps://github.com/olivernn/lunr.js\n\n### Describe alternatives you've considered\n\nimprove default search\n\n### Additional context\n\nVitepress:\r\nthe desired result always appears last\r\n\r\n\r\nMkDocs:\r\n\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.",[2903,2906],{"name":2904,"color":2905},"has-workaround","1B4515",{"name":2866,"color":2867},3429,"Add lunr.js as one of the available plugins for Search","2024-03-07T11:19:10Z","https://github.com/vuejs/vitepress/issues/3429",0.7827436,{"description":2913,"labels":2914,"number":2916,"owner":2869,"repository":2870,"state":2871,"title":2917,"updated_at":2918,"url":2919,"score":2920},"### Is your feature request related to a problem? Please describe.\r\n\r\nI used an sever API that can convert ` *.md` strings into HTML elements.\r\nI want it to replace the parsing of `markdown-it` .Display the parsed markup content on the page.\r\n\r\n### Describe the solution you'd like\r\n\r\nCan `markdown-it` serve as a pluggable markdown parser? \r\n can be replaced with other markup parsers.\r\n\r\n\r\n### Describe alternatives you've considered\r\n\r\nAlternatively, have a hook from the ` *.md` string to the page content using an API, and skip the parsing of the `markdown-it`.\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.",[2915],{"name":2866,"color":2867},3347,"[markdown-it] as a pluggable markdown parser","2024-02-02T09:22:47Z","https://github.com/vuejs/vitepress/issues/3347",0.7897269,{"description":2922,"labels":2923,"number":2928,"owner":2869,"repository":2870,"state":2871,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### 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.",[2924,2927],{"name":2925,"color":2926},"upstream","BF29ED",{"name":2866,"color":2867},3604,"algolia搜索框在输入关键字时会中断输入法拼写","2024-04-12T01:59:21Z","https://github.com/vuejs/vitepress/issues/3604",0.7925229,{"description":2934,"labels":2935,"number":2940,"owner":2869,"repository":2870,"state":2871,"title":2941,"updated_at":2942,"url":2943,"score":2944},"In general we have something that looks like:\r\n\r\n[bonito.md]\r\n```\r\nSome text could be here as well\r\n\r\n\u003Cdiv>\r\n \u003Cdiv class=\"bonito-fragment\" id=\"b240e6cb-b8c0-4d12-8af1-b509dcc29e55\" data-jscall-id=\"root\">\r\n \u003Cdiv>\r\n \u003Cscript src=\"bonito/js/Bonito.bundled.js\" type=\"module\">\u003C/script>\r\n \u003Cstyle>\u003C/style>\r\n \u003Cdiv>\u003C/div>\r\n \u003C/div>\r\n \u003Cdiv>\r\n \u003Cscript type=\"module\">Bonito.lock_loading(() => Bonito.init_session('b240e6cb-b8c0-4d12-8af1-b509dcc29e55', null, 'root'))\u003C/script>\r\n \u003Cspan>\u003C/span>\r\n \u003C/div>\r\n \u003C/div>\r\n \u003Cdiv class=\"bonito-fragment\" id=\"d9c84005-2c6f-46b8-be1a-92ee56eea191\" data-jscall-id=\"subsession-application-dom\">\r\n \u003Cdiv>\r\n \u003Cstyle>\u003C/style>\r\n \u003Cdiv>\u003C/div>\r\n \u003C/div>\r\n \u003Cdiv>\r\n \u003Cscript type=\"module\"> Bonito.lock_loading(() => {\r\n return Bonito.fetch_binary('bonito/bin/c3e2dbd67f62c4fc1ead4bd004e119b63393e0ff-5683387923680860656.bin').then(msgs=> Bonito.init_session('d9c84005-2c6f-46b8-be1a-92ee56eea191', msgs, 'sub'));\r\n })\r\n\u003C/script>\r\n \u003Cdiv style=\"width: 100%; height: 100%\" data-jscall-id=\"1\">\r\n \u003Ccanvas style=\"display: block\" data-jscall-id=\"2\" tabindex=\"0\">\u003C/canvas>\r\n \u003C/div>\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/div>\r\n```\r\nA simplified version (reproducer) with source files can be found here: https://github.com/lazarusA/TemplateDocsVitePress.jl/tree/master/md_srcs\r\n\r\nwhere the issue happens for the `bonito.md` file. Any advice or suggestions? This is suppose to be use to generate potentially many interactive plots, hence having a general approach would be nice.\r\n\r\nShould we just parse it as raw html? does it make sense...\r\n\r\n_Originally posted by @lazarusA in https://github.com/vuejs/vitepress/discussions/3909_",[2936,2939],{"name":2937,"color":2938},"build","377ba8",{"name":2866,"color":2867},3910,"support for \u003Cscript src=\"...\" type=\"module\">\u003C/script> and \u003Cstyle>\u003C/style> ","2025-03-02T18:09:04Z","https://github.com/vuejs/vitepress/issues/3910",0.79689926,{"description":2946,"labels":2947,"number":2951,"owner":2869,"repository":2870,"state":2952,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### Describe the bug\n\nAfter updating alpha52, local is normal, but after deploying to netlify, the folding of the sidebar and the search button and font setting all invalid.\r\n\r\nUncaught ReferenceError: Cannot access 'W' before initialization\n\n### Reproduction\n\nhttps://csfive.netlify.app/cs/path\n\n### Expected behavior\n\nlike description\n\n### System Info\n\n```shell\nsee nelify.toml: https://github.com/csfive/docs/blob/main/netlify.toml\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.",[2948],{"name":2949,"color":2950},"bug: pending triage","e99695",2074,"closed","Uncaught ReferenceError: Cannot access 'W' before initialization","2023-03-21T00:04:12Z","https://github.com/vuejs/vitepress/issues/2074",0.76979923,{"description":2958,"labels":2959,"number":2960,"owner":2869,"repository":2870,"state":2952,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Is your feature request related to a problem? Please describe.\n\nI found that #1240 has removed these two parameters, which makes it impossible for me to customize the MD plugin on this basis\n\n### Describe the solution you'd like\n\nCan you `__ Path ` and `__ Relativepath ` these two attributes are added to the MD instance to better customize the MD plugin\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.vuejs.org).\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.",[],1258,"Expose __path and __relativePath options on md instance for md plugins","2023-01-21T14:26:49Z","https://github.com/vuejs/vitepress/issues/1258",0.7766025,{"description":2966,"labels":2967,"number":2969,"owner":2869,"repository":2870,"state":2952,"title":2970,"updated_at":2971,"url":2972,"score":2973},"I wanted to write my own markdown-it plugin and use own custom syntax for code blocks.\r\n\r\nFor example, include the file name in the code block:\r\n\\`\\`\\`ts[main.ts]\r\n\\`\\`\\`\r\n\r\nHowever, the language detection logic of `highlightLinePlugin` seems to allow only`/{([\\d,-]+)}/`, which is the notation of` lineNumberPlugin`.\r\nhttps://github.com/vuejs/vitepress/blob/master/src/node/markdown/plugins/highlightLines.ts#L4\r\n\r\nIs this a deliberate constraint?\r\n",[2968],{"name":2937,"color":2938},313,"Customize the code blocks of the md file","2023-01-21T14:35:33Z","https://github.com/vuejs/vitepress/issues/313",0.7800346,["Reactive",2975],{},["Set"],["ShallowReactive",2978],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fCBvmCpNRUeUTtZ1YNltInl3QOXhjPZAVP6MMTku0SsQ":-1},"/vuejs/vitepress/3174"]