\r\n\u003C/div>\r\n```\r\n但显然`# 标题一 `可以被成功渲染为标题,而`## {{item[0].title}}`却只能是纯文本,因为这部分根本不会经过`markdown`渲染器的渲染。\n\n### Describe the solution you'd like\n\n我理解是否可以添加一个标识,比如:\r\n```js\r\n\u003Cdiv v-for='item in beijing'>\r\n ## {{item[0].title}}\r\n ::: markdown-block\r\n ## title\r\n // content\r\n ::: \r\n \u003Cmany-pictures :srcImgs='item' :lazy='true' />\r\n\u003C/div>\r\n\r\n```\r\n然后预期中这个块会被`markdown`渲染器渲染之后再交给`vue`相关的编译器去解析。\r\n如果可以支持这个功能,结合`vue`中的`v-if/v-for`等条件控制语句,可以帮助我实现许多页面的快速编写\n\n### Describe alternatives you've considered\n\n目前我只能直接在`v-for`语句中编写纯`html`语法的内容,这对于我来说有一定的心智负担,还是以上述的例子来说,这是我目前的替代方案:\r\n```html\r\n---\r\nsidebar: false\r\n---\r\n\u003Cscript setup>\r\nimport { beijing } from '../const/imgLink.ts'\r\n\u003C/script>\r\n# 标题一\r\n\u003Cdiv v-for='item in beijing'>\r\n \u003Ch2 :id=\"item[0].title\" tabindex=\"-1\">\r\n {{item[0].title}}\r\n \u003Ca class=\"header-anchor\" :href=\"`#${item[0].title}`\" aria-hidden=\"true\">#\u003C/a>\r\n \u003C/h2>\r\n \u003Cmany-pictures :srcImgs='item' :lazy='true' />\r\n\u003C/div>\r\n```\n\n### Additional context\n\n我也许可以尝试实现该功能\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.",[],1570,"在模板语法或标签语法中,是否可以增加一个类似块一样的标识,以至于块中的内容可以被`markdown`解析器识别并渲染为`html`","2023-01-21T14:20:46Z","https://github.com/vuejs/vitepress/issues/1570",0.68929887,{"description":2912,"labels":2913,"number":2920,"owner":2860,"repository":2861,"state":2898,"title":2921,"updated_at":2922,"url":2923,"score":2924},"Hi guys, I hope you are well. I have forked to check spanish #translation. It is working for some files I have tested. I would like to contribute. Thanks.",[2914,2917],{"name":2915,"color":2916},"docs","0075ca",{"name":2918,"color":2919},"translations","6366D3",3850,"docs: add spanish translation","2024-06-14T04:41:50Z","https://github.com/vuejs/vitepress/issues/3850",0.7089763,{"description":2926,"labels":2927,"number":2928,"owner":2860,"repository":2861,"state":2898,"title":2929,"updated_at":2930,"url":2931,"score":2932},"Hi, I have a problem that may be the path. I want to deploy my website on github page, but only the homepage can be accessed, but the style is also wrong. my page is `https://congmucc.github.io/blog/`, my github is `https://github.com/congmucc/blog`. You can look it.\n\n\n\n\nI read the `https://vitepress.dev/guide/deploy#setting-a-public-base-path`, and change the `base` of `vite.config.ts` to `/blog/`, but it is fail, if it doesn't have `/blog/`, it is also fail. How can I get the help.",[],4599,"How to deploy my web","2025-03-20T04:43:56Z","https://github.com/vuejs/vitepress/issues/4599",0.72385365,{"description":2934,"labels":2935,"number":2936,"owner":2860,"repository":2861,"state":2898,"title":2937,"updated_at":2938,"url":2939,"score":2940},"I noticed that `VitePress` imports `@vue/shared`, but it appears to only use one of its methods. However, there are more methods available in `@vue/shared`. Should `VitePress` directly import these additional methods from `@vue/shared` to reduce redundancy in the code?\r\n\r\nHere is one case of what I mentioned:\r\n\r\n`vitepress`:\r\nhttps://github.com/vuejs/vitepress/blob/a6a7645e942cc63c57ca5d79da4b76dee76d8a96/src/node/config.ts#L229\r\n\r\n`@vue/shared`:\r\nhttps://github.com/vuejs/core/blob/db374e54c9f5e07324728b85c74eca84e28dd352/packages/shared/src/general.ts#L52\r\n\r\nSeems that can directly use `import { isObject } from '@vue/shared`.",[],3720,"Reuse some of the existing methods in `@vue/shared`","2024-04-28T12:24:53Z","https://github.com/vuejs/vitepress/issues/3720",0.7356518,{"description":2942,"labels":2943,"number":2947,"owner":2860,"repository":2861,"state":2898,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Is your feature request related to a problem? Please describe.\r\n\r\nCurrently only emojis are supported in the features section in home layout, which is already great, but there are a lot of cases where a custom image would be a better fit.\r\n\r\nOpen discussion\r\nhttps://github.com/vuejs/vitepress/discussions/1589#discussioncomment-4415494\r\n\r\n### Describe the solution you'd like\r\n\r\n```\r\n features:\r\n - icon: [LINK TO SVG IMAGE]\r\n title: my title\r\n details: my details\r\n link: https://github.com/vuejs/vitepress\r\n linkText: Let's jump right in\r\n```\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.",[2944],{"name":2945,"color":2946},"theme","0754FB",1702,"Support svg images in the features section in home layout","2023-01-21T14:17:01Z","https://github.com/vuejs/vitepress/issues/1702",0.7361391,{"description":2953,"labels":2954,"number":2956,"owner":2860,"repository":2861,"state":2898,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Is your feature request related to a problem? Please describe.\n\nI want user `h1` as my article outline, i can't use theme config to custom my outline\n\n### Describe the solution you'd like\n\nif i have config in my config.js\r\n```js\r\n themeConfig: {\r\n outline: [1,6] || 'all'\r\n}\r\n```\r\nthe title selector should like this\r\n```js\r\ndocument\r\n .querySelectorAll\u003CHTMLHeadingElement>('h1,h2, h3, h4, h5, h6') // include h1 title\r\n .forEach((el) => {\r\n if (el.textContent && el.id) {\r\n updatedHeaders.push({\r\n level: Number(el.tagName[1]),\r\n title: el.innerText.replace(/\\s+#\\s*$/, ''),\r\n link: `#${el.id}`\r\n })\r\n }\r\n })\r\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.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.",[2955],{"name":2945,"color":2946},1529,"The levels of header to display in the outline can't support h1 title","2023-08-12T00:04:14Z","https://github.com/vuejs/vitepress/issues/1529",0.73698795,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fDbj5SKI_KvTF5yTy_lBKmkF766_7dy0MCOpgHFCl48Q":-1},"/vuejs/vitepress/2862"]