\r\n```\r\n\r\nAlternatively, use the `desc` defined in the `container` to write Markdown syntax.\r\n\r\n```md\r\n::: demo src=\"../demo.vue\" title=\"Demo block\"\r\n\r\nThis is a `description` that can be written using Markdown.\r\n\r\n:::\r\n```\r\n\r\n### Describe the solution you'd like\r\n\r\nTo address this, I have created the [markdown-it-vitepress-demo](https://github.com/hairyf/markdown-it-vitepress-demo) plugin. I'm not sure if it can be helpful.\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n- https://github.com/vuejs/vitepress/issues/987\r\n- https://github.com/vuejs/vitepress/issues/1349\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.",[3033],{"name":3020,"color":3021},2432,"feat(demo): built-in markdown plugin provides support for showcasing demo capabilities.","2024-07-17T14:37:26Z","https://github.com/vuejs/vitepress/issues/2432",0.73947316,{"description":3040,"labels":3041,"number":3045,"owner":3023,"repository":3024,"state":3046,"title":3047,"updated_at":3048,"url":3049,"score":3050},"### Is your feature request related to a problem? Please describe.\n\nWhen creating a sidebar structure from anchor points in a single document (think a list of commands on a single page), Vitepress does not highlight the active anchor, and instead highlights the sidebar item clicked to navigate to the page (e.g. clicking on `help` navigates to `/commands/#help`)\r\n\r\n```\r\nhelp -> /commands/#help\r\n```\n\n### Describe the solution you'd like\n\n- support URL hash for sidebar active match\r\n- expose `activeMatch` with behavior similar to `DefaultTheme.NavItem`\n\n### Describe alternatives you've considered\n\nn/a\n\n### Additional context\n\nI may be able to implement this feature\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.",[3042],{"name":3043,"color":3044},"theme","0754FB",1565,"closed","support `activeMatch` for sidebar items, or match on URL hash","2023-08-13T00:04:23Z","https://github.com/vuejs/vitepress/issues/1565",0.68769896,{"description":3052,"labels":3053,"number":3054,"owner":3023,"repository":3024,"state":3046,"title":3055,"updated_at":3056,"url":3057,"score":3058},"### Is your feature request related to a problem? Please describe.\n\nI need to move the user from the page sitename.com/foo/bar to sitename.com/bar, while there can be several pages in foo and I would not like to declare each one manually.\n\n### Describe the solution you'd like\n\nTransparent and understandable settings for redirecting from page to page. And the documentation for it.\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\nP.S. I looked at the documentation, but did not see what I need, if it is already there, please point it out to me.\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.",[],2533,"Make redirects from page to page","2023-06-29T00:04:27Z","https://github.com/vuejs/vitepress/issues/2533",0.7147341,{"description":3060,"labels":3061,"number":3062,"owner":3023,"repository":3024,"state":3046,"title":3063,"updated_at":3064,"url":3065,"score":3066},"### Is your feature request related to a problem? Please describe.\n\n当我在文档里插入图片发布后,图片中有部分内容在页面上较为模糊。我试过markdown-it-custom-attrs插件,但是好像没有生效。\n\n### Describe the solution you'd like\n\n在vitepress中集成图片灯箱的功能,或者有什么办法可以集成相关组件(希望给一个示例)\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.",[],2674,"能否增加一个图片点击放大的功能。","2023-08-01T00:04:35Z","https://github.com/vuejs/vitepress/issues/2674",0.7239908,{"description":3068,"labels":3069,"number":3073,"owner":3023,"repository":3024,"state":3046,"title":3074,"updated_at":3075,"url":3076,"score":3077},"### Describe the bug\n\n\r\n\r\n\r\nsame happens when there's another `base: '/section2/',` in sidebar\n\n### Reproduction\n\nconfig:\r\n```ts\r\nexport default defineConfig({\r\n\r\n...\r\n\r\n sidebar: [\r\n {\r\n base: '/section/',\r\n items: [\r\n { text: 'First', link: '/first' },\r\n { text: 'Second', link: '/second' },\r\n { text: 'Third', link: '/third' },\r\n ]\r\n },\r\n ],\r\n\r\n...\r\n```\r\n\r\nfolder structure:\r\n\r\n\r\n\n\n### Expected behavior\n\n\r\n\r\n(like without the base link and md files stored in parent folder)\n\n### System Info\n\n```Text\nrc20, windows\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.",[3070],{"name":3071,"color":3072},"bug: pending triage","e99695",3010,"bottom page navigation link always directs to first page when using base URLs for sidebar","2023-10-02T00:04:34Z","https://github.com/vuejs/vitepress/issues/3010",0.72435564,{"description":3079,"labels":3080,"number":3081,"owner":3023,"repository":3024,"state":3046,"title":3082,"updated_at":3083,"url":3084,"score":3085},"### Is your feature request related to a problem? Please describe.\n\ndist中的构建产生的html文件中的```__VP_HASH_MAP__``` 顺序不定,哪怕对md文件不进行任何修改,导致只要重新build一次就会使dist中的大量文件发生改动。\r\n\r\n另外,如果有一个md文件发生改动,就会导致构建生成的所有html中的```__VP_HASH_MAP__``` 中的hash码变化。这会导致几乎所有文件都发生了改动。\r\n\r\n我不清楚 vitepress中 **最后更新时间** 是否是按照文件最后一次改动时间算的,目前的问题是只要改一个文件所有文件的最后更新时间都会更新为最新的这个时间。感觉有很大概率是和上面描述的```__VP_HASH_MAP__``` 有关。\r\n\r\n\r\n我的思路是:\r\n\r\n改了一个md文件并重新构建 -> 所有md文件生成的html中的```__VP_HASH_MAP__``` 发生了变化,导致所有html文件都发生了更改 -> 文件最后更改时间全部更新为此时此刻\n\n### Describe the solution you'd like\n\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.",[],2303,"最后更新时间始终为最后一次提交的时间","2023-05-05T00:04:12Z","https://github.com/vuejs/vitepress/issues/2303",0.72512084,{"description":3087,"labels":3088,"number":3089,"owner":3023,"repository":3024,"state":3046,"title":3090,"updated_at":3091,"url":3092,"score":3093},"### Is your feature request related to a problem? Please describe.\n\nI would like to add `target=\"_blank\"` attr to a inner link, but can not find a way to do it after read vitepress`s docs.\n\n### Describe the solution you'd like\n\nCan I add a `isExternal` attr when config nav?\r\n``` ts\r\nfunction nav() {\r\n return [\r\n { text: 'Guide', link: '/guide/what-is-vitepress', activeMatch: '/guide/' },\r\n { text: 'Configs', link: '/config/introduction', activeMatch: '/config/' },\r\n { text: 'ConfigsEx', link: '/config/introduction', activeMatch: '/config/' , isExternal: true },\r\n ]\r\n}\r\n```\n\n### Describe alternatives you've considered\n\n``` ts\r\n export type NavItemWithLink = {\r\n text: string\r\n link: string\r\n activeMatch?: string\r\n isExternal?: boolen\r\n }\r\n\r\n\r\n export interface NavItemWithChildren {\r\n text?: string\r\n items: (NavItemChildren | NavItemWithLink)[]\r\n activeMatch?: string\r\n isExternal?: boolen\r\n }\r\n```\r\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] 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.",[],1040,"Add `target=\"_blank\"` attr to a inner link","2023-01-21T14:30:09Z","https://github.com/vuejs/vitepress/issues/1040",0.72788745,{"description":3095,"labels":3096,"number":3098,"owner":3023,"repository":3024,"state":3046,"title":3099,"updated_at":3100,"url":3101,"score":3102},"### Describe the bug\n\n```\r\n- [/example/](/example/) ❌\r\n- [./example/](./example/) ❌\r\n- [/example/index.md](/example/index.md) ❌\r\n- [./example/index.md](./example/index.md) ❌\r\n- the Left top \"Vitepress\" ❌\r\n- Sidebar \"example\" ❌\r\n- Navbar \"example\" ❌\r\n```\r\nClicking these internal links now triggers non-SPA navigation.\r\n\r\nrelated: https://vitepress.dev/guide/markdown#internal-links\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-tyiztl?file=docs%2Findex.md,docs%2F.vitepress%2Fconfig.ts\n\n### Expected behavior\n\nSPA navigation happens like it does with 1.0.0-rc.27.\n\n### System Info\n\n```Text\nStackblitz\r\n\r\n System:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) 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.10.0 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-rc.28 => 1.0.0-rc.28\n```\n\n\n### Additional context\n\nThis bug seems to be caused by https://github.com/vuejs/vitepress/pull/3218\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.",[3097],{"name":3071,"color":3072},3225,"Clicking internal links without `.html` pointing a directory now triggers non-SPA navigation","2023-11-27T00:04:47Z","https://github.com/vuejs/vitepress/issues/3225",0.72966856,{"description":3104,"labels":3105,"number":3106,"owner":3023,"repository":3024,"state":3046,"title":3107,"updated_at":3108,"url":3109,"score":3110},"### Describe the bug\n\nUsing the features list for home page generates VPLink as VPFeature, which is an \u003Ca> tag without a href.\r\n\r\nThis causes SEO issues\r\n\r\n\r\n\n\n### Reproduction\n\nUse features list at home page\n\n### Expected behavior\n\nAn entire div should not be an \u003Ca> tag if it's not supposed to link anywhere\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.23506\r\n CPU: (16) x64 AMD Ryzen 7 7800X3D 8-Core Processor\r\n Memory: 11.73 GB / 31.73 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.23506.1000.0), Chromium (116.0.1938.29)\r\n Internet Explorer: 11.0.23506.1000\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.6 => 1.0.0-beta.6\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.",[],2684,"VPFeatures using VPLink","2023-08-03T00:04:16Z","https://github.com/vuejs/vitepress/issues/2684",0.7303687,["Reactive",3112],{},["Set"],["ShallowReactive",3115],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fZH-6wryX4KbFii4kl6-Oat1QH9r8IbXE6MspJgqZFqs":-1},"/vuejs/vitepress/2896"]