\r\n\u003Cimg alt=\"Minecraft Version\" src=\"https://img.shields.io/badge/Minecraft-1.8--1.20-blue?style=flat&color=green\"/>\r\n\u003Cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/NoNameGMM/SignInForMiraiMC?style=flat&label=Release\"/>\r\n```\r\n\r\n正常来说应该是这样:\r\n\u003Cimg width=\"249\" alt=\"photo1\" src=\"https://github.com/vuejs/vitepress/assets/109721871/d5c41be5-f3df-43f7-bd88-a2f12a11490f\">\r\n\r\n可是vitepress的效果是:\r\n\u003Cimg width=\"107\" alt=\"屏幕截图 2024-03-03 200157\" src=\"https://github.com/vuejs/vitepress/assets/109721871/a5b20517-2e3f-4fb0-9390-1f06cdbbebd6\">\r\n\r\n\r\n\n\n### Reproduction\n\n同上\n\n### Expected behavior\n\n我想要实现正常markdown的效果\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 1.68 GB / 13.86 GB\r\n Binaries:\r\n Node: 20.10.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.21 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 10.2.3 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.15.4 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (122.0.2365.59)\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.",[],3631,"使用shields.io徽标时图片自动换行","2024-03-11T00:04:39Z","https://github.com/vuejs/vitepress/issues/3631",0.7232781,{"description":2921,"labels":2922,"number":2924,"owner":2872,"repository":2873,"state":2896,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\r\n\r\nhttps://github.com/vuejs/vitepress/blob/75ca9e4302c65e3bcc9518f7df928318380f6cf6/src/node/markdown/plugins/highlightLines.ts#L30\r\n\r\n`highlightLinePlugin` is used before `attrs`, and `token.info` is rewritten.\r\n\r\nvia https://github.com/vuejs/vitepress/pull/664#discussion_r902203459\r\n\r\n### Reproduction\r\n\r\n\u003Cimg width=\"177\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/174726207-1c068f94-f597-4d5e-9101-4709a08a60c3.png\">\r\n\r\n\u003Cimg width=\"299\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/174726233-83967c42-db47-4c12-8dbd-0c83a817c448.png\">\r\n\r\n\r\n### Expected behavior\r\n\r\nRender `data=\"asdf\"`\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 13.84 GB / 64.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/yarn\r\n npm: 8.12.1 - ~/Library/Caches/fnm_multishells/95455_1655742557079/bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\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] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2923],{"name":2869,"color":2870},826,"support adding attributes to code blocks","2023-08-11T00:04:28Z","https://github.com/vuejs/vitepress/issues/826",0.72696584,{"description":2930,"labels":2931,"number":2932,"owner":2872,"repository":2873,"state":2896,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Is your feature request related to a problem? Please describe.\r\n\r\nI would like the ability to show the aside on the left side of the document. It is currently coded to the right at all times.\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nI would like to be able to set the aside location on a page by page basis. A CSS variable would go a long way here.\r\n\r\n### Describe alternatives you've considered\r\n\r\nI understand how to set it site-wide with\r\n\r\n```\r\n.aside { order: 1 !important }\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] 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.",[],2134,"Aside Location Order","2023-04-02T00:04:13Z","https://github.com/vuejs/vitepress/issues/2134",0.73513037,{"description":2938,"labels":2939,"number":2941,"owner":2872,"repository":2873,"state":2896,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### Describe the bug\n\nif I use \"/\" character end of url, sidebar and middle page not working normally.\n\n### Reproduction\n\ncheck this error\r\nhttps://stackblitz.com/edit/vite-9jamew\r\n\r\nif you see error, add to `\u003Cstackblitz test url>/en/test/` and enter. 404 page coming. \r\nbut `\u003Cstackblitz test url>/en/test` like this working.\n\n### Expected behavior\n\nneed to work normally. 404 page is wrong.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 2.38 GB / 15.87 GB\r\n Binaries:\r\n Node: 18.18.2 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.22 - C:\\Program Files\\nodejs\\yarn.CMD\r\n npm: 9.8.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.6.1 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (122.0.2365.59)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.1.3 => 1.1.3\n```\n\n\n### Additional context\n\nnginx conf like\r\n\r\n```\r\nserver {\r\n gzip on;\r\n gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\r\n\r\n listen 80;\r\n server_name _;\r\n index index.html;\r\n\r\n location / {\r\n # content location\r\n root /app;\r\n\r\n # exact matches -> reverse clean urls -> folders -> not found\r\n try_files $uri $uri.html $uri/ =404;\r\n\r\n # non existent pages\r\n error_page 404 /404.html;\r\n\r\n # a folder without index.html raises 403 in this setup\r\n error_page 403 /404.html;\r\n\r\n # adjust caching headers\r\n # files in the assets folder have hashes filenames\r\n location ~* ^/assets/ {\r\n expires 1y;\r\n add_header Cache-Control \"public, immutable\";\r\n }\r\n }\r\n}\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.",[2940],{"name":2905,"color":2906},3832,"page render error","2024-05-05T04:41:46Z","https://github.com/vuejs/vitepress/issues/3832",0.73953855,{"description":2947,"labels":2948,"number":2950,"owner":2872,"repository":2873,"state":2896,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\r\n\r\nI try to use home layout and type like this:\r\n```md\r\nfeatures:\r\n - title: \u003Cimg src= \"/imgs/ArcGIS.png\" alt=\"ArcGIS\" class=\"inline-block\"/>ArcGIS\r\n details: Use the ArcGIS Maps SDK for JavaScript to build compelling web apps that unlock your data’s potential with interactive user experiences and stunning 2D and 3D visualizations.\r\n link: https://developers.arcgis.com/javascript/latest/\r\n target: \"_blank\"\r\n```\r\nIt runs well in dev, but when I deployed on gh-pages in a custom repository, the site comes like \\\u003Cusername\\>.github.io/\\\u003Crepo\\>/xxx.So I set base option in ./docs/.vitepress/config.mts, the logo.png runs well under this option.but in `index.md>home layout>features`,it didn't work.\r\nif add a \\\u003Crepo\\> before src link, worked but I should change it every time when add or remove a feature:\r\n```md\r\nfeatures:\r\n - title: \u003Cimg src= \"/gest_webgis/imgs/ArcGIS.png\" alt=\"ArcGIS\" class=\"inline-block\"/>ArcGIS\r\n details: Use the ArcGIS Maps SDK for JavaScript to build compelling web apps that unlock your data’s potential with interactive user experiences and stunning 2D and 3D visualizations.\r\n link: https://developers.arcgis.com/javascript/latest/\r\n target: \"_blank\"\r\n```\r\nHow can I use a `withBase` helper in vitepress within formatter in md files?\r\n\r\n### Reproduction\r\n\r\nwrite an img tag in `home layout > features>title`,set base option in ./docs/.vitepress/index.{js,mts}\r\n\r\n\r\n### Expected behavior\r\n\r\nthe /imgs/xxx.png should automatically change into ${baseUrl}/imgs/xxx.png at runtime or use withBase helper in home features\r\n\r\n### System Info\r\n\r\n```Text\r\nwin11, gitpub pages\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.",[2949],{"name":2905,"color":2906},3139,"How to use a `withBase` helper in vitepress within formatter in md files?","2023-11-02T00:04:19Z","https://github.com/vuejs/vitepress/issues/3139",0.7397585,{"description":2956,"labels":2957,"number":2959,"owner":2872,"repository":2873,"state":2896,"title":2960,"updated_at":2961,"url":2962,"score":2963},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\nImporting components in enhanceApp or with a script in an md file works fine, however importing a component outside of the .vitepress dir only works with the script tag, but not in enhanceApp.\r\n\r\nThe import itself seem to be fine (I can log the component), but if you then reference the component in the md file, it will result in an infinite loop and stack overflow.\r\n\r\n**To Reproduce**\r\nindex.js\r\n```js\r\nimport DefaultTheme from 'vitepress/dist/client/theme-default' // To extend default theme.\r\nimport Thing from '../../../src/components/Thing/Thing.vue' // \"external\" import\r\nimport Demo from './src/components/Demo.vue' // \"local\" import\r\n\r\nexport default {\r\n ...DefaultTheme,\r\n enhanceApp({ app }) {\r\n app.component('Demo', Demo) // works fine\r\n app.component('Thing', Thing) // works fine, but stack overflow in md file\r\n }\r\n}\r\n```\r\n\r\n**Expected behavior**\r\nThe component to be callable from the MD file, just like components in the `.vitepress` dir.\r\n\r\n**System Info**\r\n- vitepress version: 0.11.5\r\n- vite version: 2.0.0 beta 64\r\n- Node version: 12.19.0\r\n- OS version: MacOS 11.1\r\n\r\n**Additional context**\r\nNot much else, let me know if I can help debug further.",[2958],{"name":2905,"color":2906},225,"Components imported from outside the .vitepress directory result in endless loops","2023-01-21T16:23:58Z","https://github.com/vuejs/vitepress/issues/225",0.74586505,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fet3emDByo3s9lkrg3QoUXE7EhR1hN5R7JOfN5kqJvWA":-1},"/vuejs/vitepress/2669"]