\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.",[2884,2887,2890],{"name":2885,"color":2886},"theme","0754FB",{"name":2888,"color":2889},"a11y","fbca04",{"name":2871,"color":2872},2930,"themeConfig.socialLinks.icon ","2024-02-02T09:23:16Z","https://github.com/vuejs/vitepress/issues/2930",0.80949956,{"description":2897,"labels":2898,"number":2906,"owner":2874,"repository":2875,"state":2876,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Is your feature request related to a problem? Please describe.\n\nIn the process of daily use, non-native English speakers will use their native language to write article titles when writing articles.\r\n\r\nHowever, the url obtained by such an article after publication will be encoded, resulting in the blog's post address becoming very long\n\n### Describe the solution you'd like\n\nHere's an example.\r\n\r\n\u003Cimg width=\"772\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/34816426/e5a30849-286c-472c-9c85-aa5c5a873113\">\r\n\r\nAfter copying the url, the URL becomes like this:\r\n\r\n\r\n> https://blog.jimmyxuexue.top/front-end/%E6%8A%98%E8%85%BE/%E5%AE%9E%E7%8E%B0%E9%82%AE%E7%AE%B1%E8%BE%85%E5%8A%A9%E7%99%BB%E5%BD%95%E5%8A%9F%E8%83%BD.html\r\n\r\n\r\nThis is very inelegant in the process of sharing articles, the address is too messy, and some editing boxes will limit the number of characters.\r\n\n\n### Describe alternatives you've considered\n\nI hope vitepress can provide a configuration item that automatically turns the article address into a hash value of the article title (preferably to control the length, such as 6 bits, 10 bits, etc.)\r\n\r\nSo even if I change the content of the article, the title of the article will not change, and the address of the article will not change\n\n### Additional context\n\nOriginal url:\r\n\r\n> https://blog.jimmyxuexue.top/front-end/%E6%8A%98%E8%85%BE/%E5%AE%9E%E7%8E%B0%E9%82%AE%E7%AE%B1%E8%BE%85%E5%8A%A9%E7%99%BB%E5%BD%95%E5%8A%9F%E8%83%BD.html\r\n\r\nChanged url:\r\n\r\n> https://blog.jimmyxuexue.top/front-end/jl34n23rnl.html\r\n\r\nChange only the article title, keep the folder path\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.",[2899,2902,2903],{"name":2900,"color":2901},"build","377ba8",{"name":2871,"color":2872},{"name":2904,"color":2905},"needs more discussion","C2E0C6",3326,"Use the hash of the article title to provide the article url","2025-03-02T18:10:09Z","https://github.com/vuejs/vitepress/issues/3326",0.8184468,{"description":2912,"labels":2913,"number":2914,"owner":2874,"repository":2875,"state":2915,"title":2916,"updated_at":2917,"url":2918,"score":2919},"\r\n\r\n有大佬可以帮忙指导下这是什么问题吗",[],1387,"closed","最新版本出现这样","2023-01-21T14:25:27Z","https://github.com/vuejs/vitepress/issues/1387",0.77608186,{"description":2921,"labels":2922,"number":2925,"owner":2874,"repository":2875,"state":2915,"title":2926,"updated_at":2927,"url":2928,"score":2929},"### Is your feature request related to a problem? Please describe.\n\nI delopy my vitepress website in github page and there are many langauge locales directory . I want readers can redirect to their default homepage depend on their web browser language .\r\n\n\n### Describe the solution you'd like\n\n```js\r\nvar lang = null;\r\nfunction language() {\r\n var language = null;\r\n if (navigator.appName == 'Netscape') {\r\n language = navigator.language;\r\n } else {\r\n language = navigator.browserLanguage;\r\n }\r\n if (language.indexOf('zh') > -1) {\r\n lang = \"zh\"\r\n window.location.href = \"/yalantinglibs/zh/index.html\";\r\n } else {\r\n window.location.href = \"/yalantinglibs/en/index.html\";\r\n }\r\n}\r\n\r\nlanguage()\r\n```\r\n\r\nI use this way in a opensource code \r\n\r\n[click here to see html](https://github.com/alibaba/yalantinglibs/blob/ec37ed2a2d4467a33743a11221be2af8fe0a1e4a/website/docs/public/index.html)\r\n\r\n[click here too to see js ](https://github.com/alibaba/yalantinglibs/blob/ec37ed2a2d4467a33743a11221be2af8fe0a1e4a/website/docs/public/index.js)\r\n\r\nBut I want to use this feature in vitepress rather than write this code myself.\r\n\r\n\r\n\n\n### Describe alternatives you've considered\n\nI just want a redirect depend on readers's webserver language config.\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.",[2923,2924],{"name":2868,"color":2869},{"name":2871,"color":2872},2251,"redirect web-page to specify directory with language in b","2023-08-14T00:04:18Z","https://github.com/vuejs/vitepress/issues/2251",0.78697973,{"description":2931,"labels":2932,"number":2936,"owner":2874,"repository":2875,"state":2915,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the bug\n\n\r\n```\r\n⠧ building client + server bundles...\r\n✓ building client + server bundles...\r\n✖ rendering pages...\r\nbuild error:\r\nTypeError: Cannot read properties of undefined (reading 'imports')\r\n at resolvePageImports (file:///D:/code/docs/node_modules/.pnpm/vitepress@1.0.0-alpha.75_@algolia+client-search@4.17.0_@types+node@17.0.45_sass@1.62.1/node_modules/vitepress/dist/node/serve-998e6cdd.js:41370:18)\r\n at renderPage (file:///D:/code/docs/node_modules/.pnpm/vitepress@1.0.0-alpha.75_@algolia+client-search@4.17.0_@types+node@17.0.45_sass@1.62.1/node_modules/vitepress/dist/node/serve-998e6cdd.js:41258:10)\r\n at async Promise.all (index 3)\r\n at async build (file:///D:/code/docs/node_modules/.pnpm/vitepress@1.0.0-alpha.75_@algolia+client-search@4.17.0_@types+node@17.0.45_sass@1.62.1/node_modules/vitepress/dist/node/serve-998e6cdd.js:41766:7)\r\n ELIFECYCLE Command failed with exit code 1.\r\n```\n\n### Reproduction\n\n\u003Chttp://github.com/kongying-tavern/docs>\n\n### Expected behavior\n\nSuccessful build\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (6) x64 AMD Ryzen 5 4500U with Radeon Graphics\r\n Memory: 3.95 GB / 15.37 GB\r\n Binaries:\r\n Node: 18.15.0 - D:\\Program Files\\Nodejs\\node.EXE\r\n npm: 9.6.1 - D:\\Program Files\\Nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.68)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.75 => 1.0.0-alpha.75\r\n```\n```\n\n\n### Additional context\n\nThis problem only exists on windows\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.",[2933],{"name":2934,"color":2935},"bug: pending triage","e99695",2351,"build errors in rendering pages: `TypeError: Cannot read properties of undefined (reading 'imports')`","2023-05-18T00:03:49Z","https://github.com/vuejs/vitepress/issues/2351",0.7877544,{"description":2942,"labels":2943,"number":2944,"owner":2874,"repository":2875,"state":2915,"title":2945,"updated_at":2946,"url":2947,"score":2948},"如图所示,我想将导航标题级别提升,展示更多的,但是它是显示到2级标签。\r\n\r\n\r\n我参考了文档,但是没有找到相关配置,就是这样的效果\r\n\r\n\r\n\r\n请问,我该怎么做\r\n\r\n",[],4096,"页面导航问题求教","2024-08-08T04:42:37Z","https://github.com/vuejs/vitepress/issues/4096",0.7964614,{"description":2950,"labels":2951,"number":2952,"owner":2874,"repository":2875,"state":2915,"title":2953,"updated_at":2954,"url":2955,"score":2956},"**Is your feature request related to a problem? Please describe.**\r\n\r\nConsider the following directory structure\r\n\r\n```\r\n- docs\r\n-- .vitepress\r\n--- theme\r\n---- index.ts \u003C--- import app.css here\r\n-- index.md\r\n- src\r\n-- css\r\n--- app.css \u003C--- import this file\r\n```\r\n\r\n**Describe the solution you'd like**\r\n\r\nAbility to import files from /src folder in the example above\r\n\r\n\r\n",[],180,"Import modules/files from parent folder","2023-01-21T16:24:00Z","https://github.com/vuejs/vitepress/issues/180",0.80196184,{"description":2958,"labels":2959,"number":2961,"owner":2874,"repository":2875,"state":2915,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### 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.",[2960],{"name":2934,"color":2935},2074,"Uncaught ReferenceError: Cannot access 'W' before initialization","2023-03-21T00:04:12Z","https://github.com/vuejs/vitepress/issues/2074",0.8019629,{"description":2967,"labels":2968,"number":2970,"owner":2874,"repository":2875,"state":2915,"title":2971,"updated_at":2972,"url":2973,"score":2974},"### Describe the bug\r\n\r\n_Note: Went through 5 pages of search results and tried a few different search variations, so apologies if I missed any prior issues_\r\n\r\nUsing the special `$frontmatter` variable in code fences doesn't result in the variable being replaced, but rather rendered\r\n\r\n### Reproduction\r\n\r\nI was using this in the context of a code-group, but a single fence will work as well. Just providing the exact conditions under which this issue was seen\r\n\r\n```markdown\r\n::: code-group\r\n\r\n```console [pnpm]\r\npnpm add @jsx-email/{{ $frontmatter.slug }}\r\n``\\`\r\n\r\n```console [npm]\r\nnpm add @jsx-email/{{ $frontmatter.slug }}\r\n``\\`\r\n\r\n```console [yarn]\r\nyarn add @jsx-email/{{ $frontmatter.slug }}\r\n``\\`\r\n\r\n:::\r\n```\r\n\r\n_Please remove the backslack, it was the only way I could get Github to stop trying to render the closing fence_\r\n\r\n### Expected behavior\r\n\r\nI'd expect that the `{{ $frontmatter.slug }}` portion would be replaced. I understand that this is a tricky situation. In most cases like this, if a user wanted to actually render `{{ $frontmatter.slug }}` (or a special replacement name/variable) literally, some escaping would be required. `chalk` is a good example of that; where `{` has a special meaning in the template literal and must be escaped.\r\n\r\nBelow is the actual result:\r\n\r\n\u003Cimg width=\"504\" alt=\"Screenshot 2023-10-01 at 8 48 18 AM\" src=\"https://github.com/vuejs/vitepress/assets/76371/bc4f296f-e990-4c62-b3d2-75a4515359c2\">\r\n\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 13.3.1\r\n CPU: (12) arm64 Apple M2 Pro\r\n Memory: 252.05 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node\r\n Yarn: 1.22.19 - ~/Library/pnpm/yarn\r\n npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm\r\n Browsers:\r\n Brave Browser: 117.1.58.129\r\n Chrome: 117.0.5938.132\r\n Firefox: 116.0.3\r\n Safari: 16.4\r\n npmPackages:\r\n vitepress: 1.0.0-rc.20 => 1.0.0-rc.20\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.",[2969],{"name":2934,"color":2935},3038,"`$frontmatter` in code fences not replaced","2023-10-09T00:04:34Z","https://github.com/vuejs/vitepress/issues/3038",0.80666757,["Reactive",2976],{},["Set"],["ShallowReactive",2979],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fc1ZzyCwlqrMTmyyOiPLa6ZuP0zrH2Av2OsvJCV5MCdc":-1},"/vuejs/vitepress/3243"]