\n\nThe issue can also be seen in VS Code, where the closing element will lose its syntax coloring:\n\n\u003Cimg width=\"415\" height=\"258\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/00d3e974-6626-4a47-9a29-0d42069b3435\" />\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.",[3053],{"name":3034,"color":3035},4836,"Mixing markdown inside markup breaks parsing if closing element is indented by 4 spaces or 1 tab (or more)","2025-07-13T09:28:05Z","https://github.com/vuejs/vitepress/issues/4836",0.7032077,{"description":3060,"labels":3061,"number":3068,"owner":3023,"repository":3024,"state":3025,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### Describe the bug\r\n\r\nvitepress not support TODO\r\n\r\nwhen i use `- [ ]` in markdown, it wasn't rendered correctly, it's recognized as a list, just like this:\r\n\u003Cimg width=\"282\" alt=\"image\" src=\"https://user-images.githubusercontent.com/37357188/218241878-e9fbec7c-9848-4166-80fe-8370421d8ce6.png\">\r\n\r\nIt should be identified as\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\njust like this\r\n\r\n- [x] TODO-1\r\n- [x] TODO-2\r\n- [ ] TODO-1\r\n\r\nbut in vitpress\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\njust like on github\r\n\r\n- [x] TODO-1\r\n- [x] TODO-2\r\n- [ ] TODO-1\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 12.6.3\r\n CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz\r\n Memory: 87.81 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.0/bin/yarn\r\n npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm\r\n Browsers:\r\n Chrome: 109.0.5414.119\r\n Edge: 97.0.1072.62\r\n Firefox: 77.0.1\r\n Safari: 16.3\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.45 => 1.0.0-alpha.45\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.",[3062,3065],{"name":3063,"color":3064},"has-workaround","1B4515",{"name":3066,"color":3067},"stale","ededed",1923,"TODO list todo is not supported","2023-08-12T00:04:28Z","https://github.com/vuejs/vitepress/issues/1923",0.70538217,{"description":3074,"labels":3075,"number":3078,"owner":3023,"repository":3024,"state":3025,"title":3079,"updated_at":3080,"url":3081,"score":3082},"### Describe the bug\n\nWhen you define a link to an image in frontmatter or in config.js, the file is note copy in the dist folder, whereas for a link in the markdown file directly it works, also when you define a public folder with your pictures it copy the content of the folder directly in dist folder and not in a public folder in dist folder. \n\n### Reproduction\n\nat this in a makdown file that represents the home page :\r\nfeatures:\r\n - icon: \r\n src: /public/compiler.png\r\ncreate a public folder in docs with the image\r\n\r\nand build the project\r\n\r\n\n\n### Expected behavior\n\nit will be preferable if the content of public folder will be copy in a dist/public folder, because here you can just enter :\r\nfeatures:\r\n - icon: \r\n src: compiler.png\r\n\r\nbut it is not very clear\n\n### System Info\n\n```sh\nnpm run docs:build\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.",[3076,3077],{"name":3034,"color":3035},{"name":3066,"color":3067},2422,"No inclusion of assets in frontmatter of markdown file and js config","2023-08-11T00:04:07Z","https://github.com/vuejs/vitepress/issues/2422",0.7087611,{"description":3084,"labels":3085,"number":3087,"owner":3023,"repository":3024,"state":3025,"title":3088,"updated_at":3089,"url":3090,"score":3091},"### Describe the bug\r\n\r\n\u003Cimg width=\"1066\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/175569550-987da428-6290-461c-b1ca-ede03db5e416.png\">\r\n\r\n\u003Cimg width=\"929\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/175569655-51561dae-5d49-4155-ae6c-9924df2b9cdb.png\">\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/JounQin/test/tree/vitepress\r\n\r\n`yarn docs:build --base /docs/ && yarn docs:serve --base /docs/`\r\n\r\n### Expected behavior\r\n\r\n`http://localhost:8000/docs` (Without ending slash) should work same as `http://localhost:8000/docs/` (With ending slash)\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: 17.64 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/3706_1656066380637/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/3706_1656066380637/bin/yarn\r\n npm: 8.13.1 - ~/Library/Caches/fnm_multishells/3706_1656066380637/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.53\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\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.",[3086],{"name":3034,"color":3035},852,"Visiting `/docs` results `/docs.html` then 404 if `base` is set as `/docs/`","2023-02-05T00:04:37Z","https://github.com/vuejs/vitepress/issues/852",0.7128753,{"description":3093,"labels":3094,"number":3097,"owner":3023,"repository":3024,"state":3025,"title":3098,"updated_at":3099,"url":3100,"score":3101},"### Describe the bug\r\n\r\nBuild blocking error happen on \"vitepress build docs\".\r\nWorks correctly and as intended on \"vitepress dev docs --port 8080\"\r\n\r\nTypeError: Failed to parse URL from [path]\r\n[cause]: TypeError [ERR_INVALID_URL]\r\n\r\n### Reproduction\r\n\r\nUse the regular Markdown File Inclusion with any file in any .md file, then try to build with \"vitepress build docs\".\r\n\r\nhttps://vitepress.dev/guide/markdown#markdown-file-inclusion\r\n\r\n### Expected behavior\r\n\r\nBuild concluding with success and no error displayed.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem: \r\n OS: Windows 10 10.0.19044 \r\n CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz \r\n Memory: 1.94 GB / 7.62 GB \r\n Binaries: \r\n Node: 19.8.1 - C:\\Program Files\\nodejs\\node.EXE \r\n Yarn: 1.22.17 - ~\\AppData\\Roaming\\npm\\yarn.CMD \r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD \r\n Browsers: \r\n Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.62)\r\n Internet Explorer: 11.0.19041.1566 \r\n npmPackages: \r\n vitepress: ^1.0.0-alpha.62 => 1.0.0-alpha.62\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n\r\n\r\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3095,3096],{"name":3034,"color":3035},{"name":3066,"color":3067},2180,"Markdown \"@include\" throw \"ERR_INVALID_URL\" on \"vitepress build docs\"","2023-08-11T00:04:15Z","https://github.com/vuejs/vitepress/issues/2180",0.71532077,{"description":3103,"labels":3104,"number":3108,"owner":3023,"repository":3024,"state":3025,"title":3109,"updated_at":3110,"url":3111,"score":3112},"### Describe the bug\r\n\r\nSome of the code markdown extensions do not work when the language is `vue`.\r\n\r\nIn particular, `[!code ++]`, `[!code --]`, `[!code warning]`, `[!code error]` and `[!code focus]` just show the comments at the end of the line.\r\n\r\nChanging the language to something else fixes this, e.g. `htmx` or `ts`.\r\n\r\nThis only seems to happen in the template tags of a `vue` code block. The highlighting works absolutely fine in the script part. Please see reproduction for code examples, I can't figure out how to escape the triple backtick code blocks here! ☹️ \r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-arupmh?file=docs%2Fexample.md\r\n\r\n### Expected behavior\r\n\r\nThe markdown extensions should work correctly and highlight the lines as per [the docs](https://vitepress.dev/guide/markdown#focus-in-code-blocks).\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.1.2\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 488.47 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\nBinaries:\r\n Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node\r\n Yarn: 1.22.10 - /usr/local/bin/yarn\r\n npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm\r\nBrowsers:\r\n Chrome: 120.0.6099.234\r\n Firefox: 112.0.2\r\n Firefox Developer Edition: 107.0\r\n Safari: 17.1.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] 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.",[3105],{"name":3106,"color":3107},"upstream","BF29ED",3503,"Markdown code extensions don't work in some situations","2025-02-01T04:42:47Z","https://github.com/vuejs/vitepress/issues/3503",0.7155473,{"description":3114,"labels":3115,"number":3119,"owner":3023,"repository":3024,"state":3025,"title":3120,"updated_at":3121,"url":3122,"score":3123},"### Describe the bug\r\n\r\nMarkdown on the home page does not have the correct article style\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n```md\r\n---\r\nlayout: home\r\n\r\nhero:\r\n name: VuePress\r\n text: Vite & Vue powered static site generator.\r\n tagline: Lorem ipsum...\r\n actions:\r\n - theme: brand\r\n text: Get Started\r\n link: /guide/what-is-vitepress\r\n - theme: alt\r\n text: View on GitHub\r\n link: https://github.com/vuejs/vitepress\r\n\r\nfeatures:\r\n - icon: ⚡️\r\n title: Vite, The DX that can't be beat\r\n details: Lorem ipsum...\r\n - icon: 🖖\r\n title: Power of Vue meets Markdown\r\n details: Lorem ipsum...\r\n - icon: 🛠️\r\n title: Simple and minimal, always\r\n details: Lorem ipsum...\r\n---\r\n\r\n# H1\r\nhello world\r\n## H2\r\nhello world\r\n### H3\r\nhello world\r\n\r\n```sh\r\nnpm i -g vitepress\r\n\\```\r\n```\r\n\r\n\r\n### Expected behavior\r\n\r\nHomePage markdown have the right Style Like docs\r\n\r\n\r\n\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 11.2.3\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 716.61 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.19.1 - ~/.nvm/versions/node/v14.19.1/bin/node\r\n Yarn: 1.22.18 - ~/.nvm/versions/node/v14.19.1/bin/yarn\r\n npm: 6.14.16 - ~/.nvm/versions/node/v14.19.1/bin/npm\r\n Watchman: 2021.06.07.00 - /usr/local/bin/watchman\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Edge: 102.0.1245.41\r\n Safari: 14.0.3\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\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.",[3116],{"name":3117,"color":3118},"theme","0754FB",800,"Markdown Style on the Homepage does not work properly","2024-02-25T00:05:03Z","https://github.com/vuejs/vitepress/issues/800",0.71578187,["Reactive",3125],{},["Set"],["ShallowReactive",3128],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f-qj2qemvzmdB-U_n_R1Du7-GUapmDyiP5zWI3tza7Sc":-1},"/vuejs/vitepress/3262"]