\\\u003C!-- [!code --] -->\n\\\u003CReference Include=\"Assembly-CSharp\" HintPath=\"...\\Assembly-CSharp.dll\" Publicize=\"true\" /> \\\u003C!-- [!code ++] -->\n\\```\n\n### Expected behavior\n\nThe colored remove diff should appear.\n\n### System Info\n\n```Text\nSystem:\n OS: Linux 6.13 openSUSE Tumbleweed 20250128\n CPU: (8) x64 AMD Ryzen 7 9800X3D 8-Core Processor\n Memory: 22.05 GB / 30.47 GB\n Container: Yes\n Shell: 5.2.37 - /bin/bash\n Binaries:\n Node: 22.13.1 - /usr/bin/node\n npm: 10.9.2 - /usr/bin/npm\n pnpm: 10.0.0 - /usr/bin/pnpm\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\n```\n\n### Additional context\n\nThe main way to support this that I can think of is to add an acceptable syntax of `[!code \\-\\-]`, `[!code -\\-]`, or some other syntax for diff coloring.\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.",[2909],{"name":2910,"color":2911},"upstream","BF29ED",4555,"XML Codeblock Colored Diff does not parse.","2025-02-20T04:43:04Z","https://github.com/vuejs/vitepress/issues/4555",0.7163397,{"description":2918,"labels":2919,"number":2920,"owner":2869,"repository":2870,"state":2901,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### Describe the bug\n\n我想要迁移一个 gitbook 项目到 vitepress,但是项目中有大量的部分是在 Markdown 中通过 .png 来获取 .PNG 图片的,例如一张图片名为 `example.PNG`,在 Markdown 中通过以下方式调用:\r\n\r\n```markdown\r\n\r\n```\r\n\r\n此时通过 `vitepress dev` 是可以正常显示的,没有报错。但是在通过 `vitepress build` 进行构建时就会报错:\r\n\r\n```text\r\nx Build failed in 649ms\r\n✖ building client + server bundles...\r\nbuild error:\r\nRollupError: [vite:build-import-analysis] [plugin vite:build-import-analysis] example.PNG: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .PNG file format, or if it's an asset, add \"**/*.PNG\" to `assetsInclude` in your configuration.\r\nfile: D:/Workspace/Docs/testBug/example.PNG\r\n at getRollupError (file:///D:/Workspace/Docs/testBug/node_modules/rollup/dist/es/shared/parseAst.js:379:41)\r\n at error (file:///D:/Workspace/Docs/testBug/node_modules/rollup/dist/es/shared/parseAst.js:375:42)\r\n at Object.error (file:///D:/Workspace/Docs/testBug/node_modules/rollup/dist/es/shared/node-entry.js:19409:20)\r\n at Object.error (file:///D:/Workspace/Docs/testBug/node_modules/rollup/dist/es/shared/node-entry.js:18519:42)\r\n at Object.transform (file:///D:/Workspace/Docs/testBug/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66741:22)\r\n```\n\n### Reproduction\n\n1. 添加一张 `.png` 格式的图片到项目中,并将其扩展名修改为 `.PNG`\r\n2. 在 Markdown 中通过 `` 的方法插入该图片\r\n3. 通过 `vitepress build` 命令进行构建\n\n### Expected behavior\n\n如果这是一个 BUG,希望能在构建时通过。如果这不是一个 BUG,那么应该在 `vitepress dev` 时输出报错进行提醒。\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.26090\r\n CPU: (12) x64 AMD Ryzen 5 3600X 6-Core Processor\r\n Memory: 17.21 GB / 31.95 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n bun: 1.1.0 - ~\\.bun\\bin\\bun.EXE\r\n Browsers:\r\n Edge: Chromium (124.0.2478.19)\r\n Internet Explorer: 11.0.26090.1\r\n npmPackages:\r\n vitepress: ^1.0.2 => 1.0.2\n```\n\n\n### Additional context\n\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.",[],3748,"构建时 .PNG 格式报错,无法构建","2024-04-28T12:25:03Z","https://github.com/vuejs/vitepress/issues/3748",0.7490966,{"description":2926,"labels":2927,"number":2928,"owner":2869,"repository":2870,"state":2901,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### Discussed in https://github.com/vuejs/vitepress/discussions/609\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **Roman-00** April 25, 2022\u003C/sup>\r\nWhen hosting, I have already brought down this project for hosting in a subdirectory https://domain.com/ms/guide , can't get to js files and styles, writes 404. How can I specify the path to styles and js files when building\r\n\r\n\r\nCan I somehow register the path to the files myself within vitepress?\u003C/div>",[],610,"When hosting, I have already brought down this project for hosting in a subdirectory https://domain.com/ms/guide , can't get to js files and styles, writes 404","2023-01-21T16:04:28Z","https://github.com/vuejs/vitepress/issues/610",0.76233584,{"description":2934,"labels":2935,"number":2936,"owner":2869,"repository":2870,"state":2901,"title":2937,"updated_at":2938,"url":2939,"score":2940},"\r\n我也不知道怎么描述 就是有层级关系展现",[],4180,"请问页面导航 为何三级标题没有像官网那样有空格呢","2024-09-13T04:43:05Z","https://github.com/vuejs/vitepress/issues/4180",0.76605713,{"description":2942,"labels":2943,"number":2947,"owner":2869,"repository":2870,"state":2901,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\r\n\r\nFailure to start server error after new installation / setup following 'Getting Started' Steps on https://vitepress.vuejs.org/guide/getting-started.html \r\n\r\n```\r\nvitepress v0.17.0\r\nvite v2.5.3\r\nfailed to start server. error:\r\n TypeError: Cannot destructure property 'locales' of 'siteData.themeConfig' as it is undefined.\r\n```\r\n\r\n### Reproduction\r\n\r\n1. Run `mkdir vitepress-starter && cd vitepress-starter`\r\n2. Run `npm init`\r\n3. Run `npm i --dev vitepress`\r\n4. Run `mkdir docs && echo '# Hello VitePress' > docs/index.md`\r\n5. Add following to package.json`{\"scripts\": {\"docs:dev\": \"vitepress dev docs\", \"docs:build\": \"vitepress build docs\", \"docs:serve\": \"vitepress serve docs\"}}`\r\n6. Run `npm run docs:dev`\r\n\r\n\r\n### Expected behavior\r\n\r\nExpect dev server to run\r\n\r\n### System Info\r\n\r\n```shell\r\nNot applicable\r\nOSX\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/coc)\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.",[2944],{"name":2945,"color":2946},"bug: pending triage","e99695",380,"Fail to start server. error: On new installation following Getting started guide.","2023-01-21T16:22:07Z","https://github.com/vuejs/vitepress/issues/380",0.7713706,{"description":2953,"labels":2954,"number":2958,"owner":2869,"repository":2870,"state":2901,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Is your feature request related to a problem? Please describe.\n\nUsing rewrites, it's not possible to map multiple URLs to a single Markdown document.\n\n### Describe the solution you'd like\n\nImplement mapping multiple URLs to the same Markdown 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.",[2955],{"name":2956,"color":2957},"has-workaround","1B4515",4394,"Implement mapping multiple URLs to the same Markdown file.","2024-12-07T04:44:12Z","https://github.com/vuejs/vitepress/issues/4394",0.7777216,["Reactive",2964],{},["Set"],["ShallowReactive",2967],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fuGvc-MANGPNO9pkIwEw6ayzKM1XI1zPJn_wwuYkhNCA":-1},"/vuejs/vitepress/2514"]