\n\n\u003Cimg width=\"308\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/0e1beb6b-d06b-436c-b106-c924fead87ab\" />\n\n\u003Cimg width=\"931\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/aef6f71a-fa28-4b7c-b512-e6386e18159a\" />\n\n### Describe the solution you'd like\n\nIn my [pull request](https://github.com/vuejs/vitepress/pull/4630), I've introduced custom components that can be overridden in the `enhanceApp` function. In these custom components, I can add custom logic for rendering text, such as using the Vue compile function. \n\nAdditionally, I added a flag to skip the title update, allowing for custom logic implementation. \n\nPlease also see my PR: [https://github.com/vuejs/vitepress/pull/4630](https://github.com/vuejs/vitepress/pull/4630).\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.",[],4637,"Sidenav Components / Skip title update","2025-03-20T12:17:14Z","https://github.com/vuejs/vitepress/issues/4637",0.74992555,{"description":2891,"labels":2892,"number":2894,"owner":2875,"repository":2876,"state":2877,"title":2895,"updated_at":2896,"url":2897,"score":2898},"### Describe the bug\n\nThe documentation for the logo states \r\n> Logo file to display in nav bar, right before the site title. Accepts a path string, or an object to set a different logo for light/dark mode.\r\nand the following suggests that putting a logo in the root folder works:\r\n```\r\n export default {\r\n themeConfig: {\r\n logo: '/logo.svg'\r\n }\r\n}\r\n```\r\n\r\nDocumentation about static assets suggests that\r\n> Common image, media, and font filetypes are detected and included as assets automatically.\r\n\r\nHowever, it seems that the logo has to be put in the `public` folder to be picked up.\n\n### Reproduction\n\n* Set up default site with `npx vitepress init`\r\n*include a logo as given above\r\n* put it in root\r\n* see it not being picked up\n\n### Expected behavior\n\nEither documentation should mention including the logo in `public` or it should get picked up from root.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 6.5 Debian GNU/Linux trixie/sid\r\n CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics\r\n Memory: 17.38 GB / 30.58 GB\r\n Container: Yes\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node\r\n npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm\r\n```\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.",[2893],{"name":2872,"color":2873},3246,"Logo not picked up if not in `public` folder","2024-12-03T17:28:48Z","https://github.com/vuejs/vitepress/issues/3246",0.75104314,{"description":2900,"labels":2901,"number":2906,"owner":2875,"repository":2876,"state":2877,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Describe the bug\n\nwhen I used js-vue, I encountered a function return result error.\n\n### Reproduction\n\n\r\n\r\nerror result: return 3 & 4\r\n\r\n\r\nbut when i use the copy btn, this result is true\n\n### Expected behavior\n\nreturn 1 & 2\r\n\r\n\r\n\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz\r\n Memory: 5.76 GB / 15.85 GB\r\n Binaries:\r\n Node: 16.17.0 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\yarn.CMD\r\n npm: 8.15.0 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\npm.CMD \r\n pnpm: 8.6.0 - E:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (117.0.2045.47)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-rc.20 => 1.0.0-rc.20\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.",[2902,2905],{"name":2903,"color":2904},"build","377ba8",{"name":2872,"color":2873},3045,"Problems with function result display when using Vue","2023-11-06T14:43:50Z","https://github.com/vuejs/vitepress/issues/3045",0.75180006,{"description":2912,"labels":2913,"number":2917,"owner":2875,"repository":2876,"state":2918,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Describe the bug\r\n\r\nWhen doc file name has single quote ('), VitePress throws error\r\n```\r\n[plugin:vite:vue] [vue/compiler-sfc] Unexpected token, expected \",\" (3:32)\r\n...\r\n***/docs/getting-started/whats-new.md:3:32\r\n1 | \u003Cscript >\r\n2 | export const __pageData = JSON.parse(\"{\\\"title\\\":\\\"What's New\\\",\\\"description\\\":\\\"\\\",\\\"frontmatter\\\":{\\\"permalink\\\":\\\"/docs/what's-new/\\\"},\\\"headers\\\":[],\\\"relativePath\\\":\\\"docs/what's-new.md\\\",\\\"filePath\\\":\\\"docs/getting-started/whats-new.md\\\",\\\"lastUpdated\\\":1689116868000}\")\r\n3 | export default {name:'docs/what's-new.md'}\u003C/script>\r\n | ^\r\n```\r\nError indicates single quote is not escaped.\r\n\r\n### Reproduction\r\n\r\nJust put a single quote in md doc file name.\r\n\r\n### Expected behavior\r\n\r\ndoc page rendered w/o error.\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz\r\n Memory: 4.63 GB / 15.71 GB\r\n Binaries:\r\n Node: 18.15.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 9.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 114.0.5735.199\r\n Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.79)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.5 => 1.0.0-beta.5\r\n```\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nVuePress doesn't have the issue.\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.",[2914],{"name":2915,"color":2916},"bug: pending triage","e99695",2614,"closed","Cannot handle doc file name containing single quote","2023-07-22T00:04:13Z","https://github.com/vuejs/vitepress/issues/2614",0.6956886,{"description":2924,"labels":2925,"number":2927,"owner":2875,"repository":2876,"state":2918,"title":2928,"updated_at":2929,"url":2930,"score":2931},"### Describe the bug\n\nThe [docs](https://vitepress.vuejs.org/config/theme-configs#outline) specify that you can pick the levels at which to outline. However, even if you specify h1, it will not generate an outline for that level:\r\n\r\n```js\r\nexport default {\r\n themeConfig: {\r\n outline: [1,3]\r\n }\r\n}\r\n```\r\n\r\nThis was already mentioned as needing to be fixed in #954 and claimed to be fixed/added in #965.\n\n### Reproduction\n\n- Set the theme config as shown above to include h1 - h3 in the outline\r\n- Create an MD file with an h1 (or #) heading\n\n### Expected behavior\n\nShould see all headings h1 - h3 in the outline\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)\r\n CPU: (6) x64 AMD FX(tm)-6300 Six-Core Processor\r\n Memory: 6.91 GB / 31.25 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 16.16.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - ~/.yarn/bin/yarn\r\n npm: 8.15.0 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 105.0.5195.125\r\n Firefox: 105.0.1\n```\n\n\n### Additional context\n\nThis _might_ be an error/issue with the [mdit-vue](https://github.com/mdit-vue/mdit-vue) package.\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2926],{"name":2915,"color":2916},1434,"Outlines Do Not Include h1 Even When Specified","2023-01-21T14:16:51Z","https://github.com/vuejs/vitepress/issues/1434",0.71788913,{"description":2933,"labels":2934,"number":2936,"owner":2875,"repository":2876,"state":2918,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the bug\n\nWhen the header is long enough to span multiple lines, the anchor icon is position on the last line.\r\n\r\n\r\n\n\n### Reproduction\n\n1. Open https://stackblitz.com/edit/vite-badrqn?file=docs%2Findex.md\r\n2. Hover over header\r\n3. Notice the anchor icon is position over the last line\n\n### Expected behavior\n\nIcon should be position on the first line.\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz\r\n Memory: 47.18 GB / 63.92 GB\r\n Binaries:\r\n Node: 18.2.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 9.6.6 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 7.29.3 - C:\\ProgramData\\chocolatey\\bin\\pnpm.EXE\r\n Browsers:\r\n Chrome: 114.0.5735.199\r\n Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.79)\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.",[2935],{"name":2866,"color":2867},2616,"Incorrect header anchor icon position with multline headers","2023-08-06T00:04:27Z","https://github.com/vuejs/vitepress/issues/2616",0.7208957,{"description":2942,"labels":2943,"number":2944,"owner":2875,"repository":2876,"state":2918,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Is your feature request related to a problem? Please describe.\r\n\r\nI can't add gitlab, reddit, tiktok, twitch to social media section in navigation.\r\n\r\n### Describe the solution you'd like\r\n\r\nsolution #1213\r\n:trollface: \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_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] 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.",[],1214,"Support gitlab, reddit, tiktok, twitch social media.","2024-11-04T15:32:34Z","https://github.com/vuejs/vitepress/issues/1214",0.73617464,{"description":2950,"labels":2951,"number":2955,"owner":2875,"repository":2876,"state":2918,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### Describe the bug\n\nhttps://stackblitz.com/edit/vite-g2h51z?file=docs%2F.vitepress%2Ftheme%2Findex.js\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-g2h51z?file=docs%2F.vitepress%2Ftheme%2Findex.js\n\n### Expected behavior\n\nhttps://stackblitz.com/edit/vite-g2h51z?file=docs%2F.vitepress%2Ftheme%2Findex.js\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (20) x64 Intel(R) Core(TM) i9-10900T CPU @ 1.90GHz\r\n Memory: 17.06 GB / 31.72 GB\r\n Binaries:\r\n Node: 14.19.0 - ~\\AppData\\Roaming\\nvm\\nodejs\\node.EXE\r\n npm: 6.14.15 - ~\\AppData\\Roaming\\nvm\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.963.0), Chromium (107.0.1418.62)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.45 => 1.0.0-alpha.45\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2952],{"name":2953,"color":2954},"question","5D5FAE",1917,"how use unocss ","2023-02-18T00:04:12Z","https://github.com/vuejs/vitepress/issues/1917",0.73623145,{"description":2961,"labels":2962,"number":2964,"owner":2875,"repository":2876,"state":2918,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Describe the bug\n\nWhy is it that when I access Algolia according to the official documentation, the search results are empty, but there is data when searching in Algolia Browse?\r\n\r\ntest crawler config :[igitinode.github.io_MP05B9ZYPB.json](https://github.com/user-attachments/files/18388743/igitinode.github.io_MP05B9ZYPB.json)\r\n\r\nthis is my github tets blog use for vitepress :https://igitinode.github.io/algoliatest/\r\n\r\nblog seatch:\r\n\r\n\r\n\n\n### Reproduction\n\nfollow the describt\n\n### Expected behavior\n\nfollow the describt\n\n### System Info\n\n```Text\nwindows 10 \r\nchrome 131\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.",[2963],{"name":2915,"color":2916},4488,"Why is it that when I access Algolia according to the official documentation, the search results are empty。","2025-01-20T04:42:52Z","https://github.com/vuejs/vitepress/issues/4488",0.7372764,["Reactive",2970],{},["Set"],["ShallowReactive",2973],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fXfyKYy9aoGeF5yawkoSgpGfqY0Mu0dpw1xX38s7QfG8":-1},"/vuejs/vitepress/2788"]