mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
83 lines
54 KiB
JavaScript
83 lines
54 KiB
JavaScript
import{$ as e,B as t,P as n,_ as r,f as ee,g as i,h as a,l as o}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as te}from"./plugin-vue_export-helper-CxTVcLa7.js";var s=JSON.parse(`{"path":"/guide/write/","title":"编写文章 | 指南","lang":"zh-CN","frontmatter":{"title":"编写文章","icon":"mingcute:edit-4-line","createTime":"2024/03/04 10:06:06","permalink":"/guide/write/","tags":["指南","快速开始"],"description":"VuePress 完整支持 ,同时允许通过 YAML 格式的 Frontmatter 定义页面元数据(如标题、创建时间等)。 此外,主题还提供了丰富的 ,您不仅可以在 Markdown 中直接编写 HTML,还能使用 Vue 组件来增强内容表现力。 Frontmatter 页面配置 通过 Frontmatter 可以自定义每个页面的属性和行为。Fron...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"编写文章\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2026-04-02T12:48:55.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/guide/write/"}],["meta",{"property":"og:site_name","content":"Plume 主题"}],["meta",{"property":"og:title","content":"编写文章"}],["meta",{"property":"og:description","content":"VuePress 完整支持 ,同时允许通过 YAML 格式的 Frontmatter 定义页面元数据(如标题、创建时间等)。 此外,主题还提供了丰富的 ,您不仅可以在 Markdown 中直接编写 HTML,还能使用 Vue 组件来增强内容表现力。 Frontmatter 页面配置 通过 Frontmatter 可以自定义每个页面的属性和行为。Fron..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2026-04-02T12:48:55.000Z"}],["meta",{"property":"article:tag","content":"快速开始"}],["meta",{"property":"article:tag","content":"指南"}],["meta",{"property":"article:modified_time","content":"2026-04-02T12:48:55.000Z"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://theme-plume.vuejs.press/en/guide/write/"}]]},"readingTime":{"minutes":3.65,"words":1095},"git":{"createdTime":1759849989000,"updatedTime":1775134135000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":3,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"39a76a35d7bf1f48c818315343a42040aeefe36b","time":1775134135000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(plugin-md-power)!: use <code>#</code> as the comment delimiter (#870)"},{"hash":"97a5ba20c3eb976864d8a9ec7342a061bb73c03b","time":1772978127000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: fix typo"},{"hash":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"}]},"autoDesc":true,"filePathRelative":"guide/quick-start/write.md","headers":[],"bulletin":false}`),ne={name:`write.md`},re={class:`code-block-title`,"data-title":`post.md`},ie={class:`code-block-title-bar`},c={class:`title`},l={class:`hint-container details`},u={class:`code-block-title`,"data-title":`.vuepress/config.ts`},d={class:`code-block-title-bar`},f={class:`title`},p={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},m={class:`shiki shiki-themes vitesse-light vitesse-dark vp-code twoslash lsp`},h={class:`language-ts`},g={class:`line`},_={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},v={class:`line`},y={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},b={class:`line`},x={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},S={class:`line`},C={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},w={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},T={class:`line`},E={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},D={class:`line`},O={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},k={class:`line`},A={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},ae={class:`line`},j={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},M={class:`line`},N={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},P={class:`line`},F={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},I={class:`line`},L={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},R={class:`line`},z={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},B={class:`line`},V={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},H={class:`line`},U={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},W={class:`line`},G={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},K={class:`line`},q={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},J={class:`hint-container info`},oe={class:`vp-file-tree`};function se(te,s,ne,se,Y,ce){let X=t(`VPLink`),Z=t(`VPIcon`),Q=t(`v-menu`),le=t(`VPCopyButton`),$=t(`FileTreeNode`);return n(),ee(`div`,null,[o(`p`,null,[s[1]||=i(`VuePress 完整支持 `,-1),r(X,{href:`../markdown/basic.md`},{default:e(()=>[...s[0]||=[i(`标准 Markdown 语法`,-1)]]),_:1}),s[2]||=i(`,同时允许通过 `,-1),s[3]||=o(`a`,{href:`https://dev.to/paulasantamaria/introduction-to-yaml-125f`,target:`_blank`,rel:`noopener noreferrer`},`YAML`,-1),s[4]||=i(` 格式的 Frontmatter 定义页面元数据(如标题、创建时间等)。`,-1)]),o(`p`,null,[s[6]||=i(`此外,主题还提供了丰富的 `,-1),r(X,{href:`../markdown/extensions.md`},{default:e(()=>[...s[5]||=[i(`Markdown 扩展语法`,-1)]]),_:1}),s[7]||=i(`,您不仅可以在 Markdown 中直接编写 HTML,还能使用 Vue 组件来增强内容表现力。`,-1)]),s[144]||=o(`h2`,{id:`frontmatter-页面配置`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#frontmatter-页面配置`},[o(`span`,null,`Frontmatter 页面配置`)])],-1),s[145]||=o(`p`,null,[i(`通过 Frontmatter 可以自定义每个页面的属性和行为。Frontmatter 位于文件顶部,由 `),o(`code`,null,`---`),i(` 分隔符包裹。`)],-1),o(`div`,re,[o(`div`,ie,[o(`span`,c,[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`}),s[8]||=i(`post.md`,-1)])]),s[9]||=a(`<div class="language-md" data-highlighter="shiki" data-ext="md" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark has-diff vp-code"><code class="language-md"><span class="line diff add"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">---</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;">title: 文章标题</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;">createTime: 2024/09/08 22:53:34</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;">permalink: /article/9eh4d6ao/</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#1C6B48;--shiki-light-font-weight:bold;--shiki-dark:#4D9375;--shiki-dark-font-weight:bold;">---</span></span>
|
||
<span class="line"></span>
|
||
<span class="line"><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;">页面正文内容位于第二个 </span><span style="--shiki-light:#999999;--shiki-dark:#666666;">\`</span><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;">---</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">\`</span><span style="--shiki-light:#393A34;--shiki-dark:#DBD7CAEE;"> 之后。</span></span></code></pre></div>`,1)]),o(`details`,l,[s[13]||=o(`summary`,null,`什么是 Frontmatter?`,-1),s[14]||=o(`p`,null,[i(`Frontmatter 是采用 `),o(`a`,{href:`https://dev.to/paulasantamaria/introduction-to-yaml-125f`,target:`_blank`,rel:`noopener noreferrer`},`YAML`),i(` 格式的配置区块,位于 Markdown 文件顶部,通过 `),o(`code`,null,`---`),i(` 分隔符界定。`)],-1),o(`p`,null,[s[11]||=i(`推荐阅读 `,-1),r(X,{href:`../../../../4.%E6%95%99%E7%A8%8B/frontmatter.md`},{default:e(()=>[...s[10]||=[i(`Frontmatter 详解`,-1)]]),_:1}),s[12]||=i(` 了解完整语法规范。`,-1)])]),s[146]||=a(`<h2 id="自动生成-frontmatter" tabindex="-1"><a class="header-anchor" href="#自动生成-frontmatter"><span>自动生成 Frontmatter</span></a></h2><p>主题在开发服务器启动后,会自动为文档源目录中的 Markdown 文件生成必要的 Frontmatter 字段,包括:<strong>标题</strong>、<strong>创建时间</strong> 和 <strong>永久链接</strong>。</p><p>这一功能既减轻了内容创作者的重复工作负担,也为主题的后续功能提供了必要的数据支持。</p><div class="language-md" data-highlighter="shiki" data-ext="md" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-md"><span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span>
|
||
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">title</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 标题</span></span>
|
||
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">createTime</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 2024/09/08 22:53:34</span></span>
|
||
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">permalink</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> /article/9eh4d6ao/</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span></code></pre></div><h3 id="标题生成规则" tabindex="-1"><a class="header-anchor" href="#标题生成规则"><span>标题生成规则</span></a></h3><p>主题默认使用文件名作为文章标题。解析时会自动移除<a href="#%E6%96%87%E4%BB%B6%E5%A4%B9%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A">文件命名约定</a>中的序号和扩展名,例如 <code>1.我的文章.md</code> 将生成标题 <code>我的文章</code>。</p><h3 id="创建时间" tabindex="-1"><a class="header-anchor" href="#创建时间"><span>创建时间</span></a></h3><p>主题以文件的创建时间为基准,格式化为 <code>yyyy/MM/dd HH:mm:ss</code> 作为文章创建时间。</p><h3 id="永久链接" tabindex="-1"><a class="header-anchor" href="#永久链接"><span>永久链接</span></a></h3><p><strong>永久链接</strong>是文章发布后的固定访问地址。一旦生成,即使文件路径或名称发生变化,该链接仍保持不变。</p><p>预先设置永久链接有助于:</p><ul><li>提升 <strong>SEO 效果</strong>,避免收录地址频繁变动</li><li>保持整个站点链接风格的 <strong>一致性</strong></li></ul><h3 id="禁用自动生成" tabindex="-1"><a class="header-anchor" href="#禁用自动生成"><span>禁用自动生成</span></a></h3>`,13),o(`p`,null,[s[16]||=i(`如需完全手动控制 Frontmatter,可通过 `,-1),r(X,{href:`../../config/theme.md#autofrontmatter`},{default:e(()=>[...s[15]||=[i(`主题配置 > autoFrontmatter`,-1)]]),_:1}),s[17]||=i(` 禁用自动生成功能。`,-1)]),o(`div`,u,[o(`div`,d,[o(`span`,f,[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`}),s[18]||=i(`.vuepress/config.ts`,-1)])]),o(`div`,p,[o(`pre`,m,[o(`code`,h,[o(`span`,g,[s[21]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),s[22]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),s[23]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,_,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[19]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`)])],-1)]]),default:e(()=>[s[20]||=o(`span`,null,`defineUserConfig`,-1)]),_:1})]),s[24]||=a(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> '</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span>`,5)]),s[106]||=i(`
|
||
`,-1),o(`span`,v,[s[27]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),s[28]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),s[29]||=o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),o(`span`,y,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[25]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`VuePress Theme Plume`),i(`
|
||
`),o(`p`,null,`VuePress 主题 Plume`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),i(` Theme options / 主题配置`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[o(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[o(`code`,null,[o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),i(`
|
||
`),o(`span`,{class:`line`}),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[s[26]||=o(`span`,null,`plumeTheme`,-1)]),_:1})]),s[30]||=a(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> '</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span>`,5)]),s[107]||=i(`
|
||
`,-1),s[108]||=o(`span`,{class:`line`},null,-1),s[109]||=i(`
|
||
`,-1),o(`span`,b,[s[33]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),s[34]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),s[35]||=o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),o(`span`,x,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[31]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UserConfig`)])],-1)]]),default:e(()=>[s[32]||=o(`span`,null,`defineUserConfig`,-1)]),_:1})]),s[36]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),s[110]||=i(`
|
||
`,-1),o(`span`,S,[s[41]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,C,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[37]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`theme`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Theme`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`Vuepress theme`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[s[38]||=o(`span`,null,`theme`,-1)]),_:1})]),s[42]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o(`span`,w,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[39]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),o(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`VuePress Theme Plume`),i(`
|
||
`),o(`p`,null,`VuePress 主题 Plume`)]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`code`,null,`options`),i(` Theme options / 主题配置`)])]),o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),o(`span`,{class:`twoslash-popup-docs-tag-value`},[o(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[o(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[o(`code`,null,[o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),i(`
|
||
`),o(`span`,{class:`line`}),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),o(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),i(`
|
||
`),o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[s[40]||=o(`span`,null,`plumeTheme`,-1)]),_:1})]),s[43]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),s[111]||=a(`
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // 完全禁用所有自动生成</span></span>
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // autoFrontmatter: false,</span></span>
|
||
<span class="line"></span>
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // 按需启用特定功能</span></span>
|
||
`,9),o(`span`,T,[s[46]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,E,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[44]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeConfig`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`autoFrontmatter`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` false`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Omit`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`<`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`AutoFrontmatterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` "`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`frontmatter`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`>`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`Automatic frontmatter insertion
|
||
自动插入 frontmatter`)])],-1)]]),default:e(()=>[s[45]||=o(`span`,null,`autoFrontmatter`,-1)]),_:1})]),s[47]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: {`,-1)]),s[112]||=i(`
|
||
`,-1),o(`span`,D,[s[50]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,O,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[48]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`permalink`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` "`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`filepath`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 permalink`),i(`
|
||
`),o(`ul`,null,[i(`
|
||
`),o(`li`,null,[o(`code`,null,`false`),i(`: 不自动生成 permalink`)]),i(`
|
||
`),o(`li`,null,[o(`code`,null,`true`),i(`: 自动生成 permalink ,使用 nanoid 生成 8 位数随机字符串`)]),i(`
|
||
`),o(`li`,null,[o(`code`,null,`filepath`),i(`: 根据文件路径生成 permalink`)]),i(`
|
||
`)]),i(`
|
||
`),o(`p`,null,[i(`对于 `),o(`code`,null,`filepath`),i(`,如果文件路径中包含中文,可以手动安装 `),o(`code`,null,`pinyin-pro`),i(` ,
|
||
主题内部会加载 `),o(`code`,null,`pinyin-pro`),i(` 进行中文拼音转换`)])]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`true`)])])],-1)]]),default:e(()=>[s[49]||=o(`span`,null,`permalink`,-1)]),_:1})]),s[51]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[52]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),s[53]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`, `,-1),s[54]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// 生成永久链接`,-1)]),s[113]||=i(`
|
||
`,-1),o(`span`,k,[s[57]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,A,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[55]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`createTime`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 createTime`),i(`
|
||
`),o(`p`,null,[i(`默认读取 文件创建时间,`),o(`code`,null,`createTime`),i(` 比 vuepress 默认的 `),o(`code`,null,`date`),i(` 时间更精准到秒`)])])],-1)]]),default:e(()=>[s[56]||=o(`span`,null,`createTime`,-1)]),_:1})]),s[58]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[59]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),s[60]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`, `,-1),s[61]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// 生成创建时间`,-1)]),s[114]||=i(`
|
||
`,-1),o(`span`,ae,[s[64]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,j,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[62]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 title`),i(`
|
||
`),o(`p`,null,`默认读取文件名作为标题`)])],-1)]]),default:e(()=>[s[63]||=o(`span`,null,`title`,-1)]),_:1})]),s[65]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[66]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),s[67]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`, `,-1),s[68]||=o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// 生成标题`,-1)]),s[115]||=i(`
|
||
`,-1),s[116]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` },`)],-1),s[117]||=i(`
|
||
`,-1),o(`span`,M,[s[71]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,N,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[69]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeLocale`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collections`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ThemeCollections`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`文章集合,当前支持 博客类型 或 文档类型`)])],-1)]]),default:e(()=>[s[70]||=o(`span`,null,`collections`,-1)]),_:1})]),s[72]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: [{`,-1)]),s[118]||=i(`
|
||
`,-1),o(`span`,P,[s[75]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,F,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[73]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemePostCollection`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`post`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`文档集合类型`),i(`
|
||
`),o(`ul`,null,[i(`
|
||
`),o(`li`,null,[o(`code`,null,`post`),i(`: 文章列表(可用于 博客、专栏等)`)]),i(`
|
||
`),o(`li`,null,[o(`code`,null,`doc`),i(`: 文档(可用于 笔记、知识库等)`)]),i(`
|
||
`)])])],-1)]]),default:e(()=>[s[74]||=o(`span`,null,`type`,-1)]),_:1})]),s[76]||=a(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">post</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),s[119]||=i(`
|
||
`,-1),o(`span`,I,[s[79]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,L,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[77]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`dir`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`文档集合目录,相对于源目录`)])],-1)]]),default:e(()=>[s[78]||=o(`span`,null,`dir`,-1)]),_:1})]),s[80]||=a(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),s[120]||=i(`
|
||
`,-1),o(`span`,R,[s[83]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,z,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[81]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),o(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`文档集合标题`)])],-1)]]),default:e(()=>[s[82]||=o(`span`,null,`title`,-1)]),_:1})]),s[84]||=a(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">博客</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),s[121]||=i(`
|
||
`,-1),s[122]||=o(`span`,{class:`line`},[o(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // 针对特定 collection 配置`)],-1),s[123]||=i(`
|
||
`,-1),o(`span`,B,[s[87]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,V,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[85]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`autoFrontmatter`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` false`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` AutoFrontmatterOptions`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`自动生成文章的 frontmatter`)])],-1)]]),default:e(()=>[s[86]||=o(`span`,null,`autoFrontmatter`,-1)]),_:1})]),s[88]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: {`,-1)]),s[124]||=i(`
|
||
`,-1),o(`span`,H,[s[91]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,U,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[89]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`AutoFrontmatterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`permalink`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` "`),o(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`filepath`),o(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 permalink`),i(`
|
||
`),o(`ul`,null,[i(`
|
||
`),o(`li`,null,[o(`code`,null,`false`),i(`: 不自动生成 permalink`)]),i(`
|
||
`),o(`li`,null,[o(`code`,null,`true`),i(`: 自动生成 permalink ,使用 nanoid 生成 8 位数随机字符串`)]),i(`
|
||
`),o(`li`,null,[o(`code`,null,`filepath`),i(`: 根据文件路径生成 permalink`)]),i(`
|
||
`)]),i(`
|
||
`),o(`p`,null,[i(`对于 `),o(`code`,null,`filepath`),i(`,如果文件路径中包含中文,可以手动安装 `),o(`code`,null,`pinyin-pro`),i(` ,
|
||
主题内部会加载 `),o(`code`,null,`pinyin-pro`),i(` 进行中文拼音转换`)])]),o(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[o(`span`,{class:`twoslash-popup-docs-tag`},[o(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),o(`span`,{class:`twoslash-popup-docs-tag-value`},`true`)])])],-1)]]),default:e(()=>[s[90]||=o(`span`,null,`permalink`,-1)]),_:1})]),s[92]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[93]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),s[94]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),s[125]||=i(`
|
||
`,-1),o(`span`,W,[s[97]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,G,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[95]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`AutoFrontmatterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`createTime`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 createTime`),i(`
|
||
`),o(`p`,null,[i(`默认读取 文件创建时间,`),o(`code`,null,`createTime`),i(` 比 vuepress 默认的 `),o(`code`,null,`date`),i(` 时间更精准到秒`)])])],-1)]]),default:e(()=>[s[96]||=o(`span`,null,`createTime`,-1)]),_:1})]),s[98]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[99]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1),s[100]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),s[126]||=i(`
|
||
`,-1),o(`span`,K,[s[103]||=o(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),o(`span`,q,[r(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...s[101]||=[o(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[o(`code`,{class:`twoslash-popup-code`},[o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`AutoFrontmatterOptions`),o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),o(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` boolean`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),o(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),o(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[o(`p`,null,`是否自动生成 title`),i(`
|
||
`),o(`p`,null,`默认读取文件名作为标题`)])],-1)]]),default:e(()=>[s[102]||=o(`span`,null,`title`,-1)]),_:1})]),s[104]||=o(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),s[105]||=o(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`true`,-1)]),s[127]||=a(`
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }]</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> })</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">})</span></span>`,8)])])])]),s[147]||=o(`h2`,{id:`文件组织约定`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#文件组织约定`},[o(`span`,null,`文件组织约定`)])],-1),o(`div`,J,[s[131]||=o(`p`,{class:`hint-container-title`},`说明`,-1),o(`p`,null,[s[129]||=i(`以下示例基于`,-1),r(X,{href:`./project-structure.md`},{default:e(()=>[...s[128]||=[i(`项目结构`,-1)]]),_:1}),s[130]||=i(`中的基准文件结构。`,-1)])]),s[148]||=a(`<p>主题提供了灵活的文件组织方式,您可以在 <code>docs</code> 目录中按喜好创建任意命名的 Markdown 文件。</p><h3 id="文件夹命名约定" tabindex="-1"><a class="header-anchor" href="#文件夹命名约定"><span>文件夹命名约定</span></a></h3><p>主题对 <code>docs</code> 目录中的文件夹命名采用以下规则:</p><p>对于 <code>post</code> 类型的 collection:</p><ul><li>文件夹名称作为文章的 <strong>分类</strong></li><li>支持多级目录,子目录作为父分类的子项</li></ul><p>需要排序时,采用以下命名模式(适用于所有类型的 collection):</p><div class="language-ts" data-highlighter="shiki" data-ext="ts" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-ts"><span class="line"><span style="--shiki-light:#AB5959;--shiki-dark:#CB7676;">const </span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;">dir</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> =</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> /</span><span style="--shiki-light:#5A6AA6;--shiki-dark:#6872AB;">\\d</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;">+</span><span style="--shiki-light:#BDA437;--shiki-dark:#E6CC77;">\\.</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">[</span><span style="--shiki-light:#5A6AA6;--shiki-dark:#6872AB;">\\s\\S</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">]</span><span style="--shiki-light:#2F798A;--shiki-dark:#4C9A91;">+</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">/</span></span>
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 格式:数字 + . + 分类名称</span></span>
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 示例:1.前端</span></span></code></pre></div><p>数字部分将作为 <strong>排序依据</strong>。未带数字的目录按默认规则排序。</p><p><strong>示例结构:</strong></p>`,9),o(`div`,oe,[r(le,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQol5eSnQ4WaUCQM9Z529j5fvR5FEl1JRkluDh4FRnrJxTALkeVh7jHWy0osSyxOLsosKMHqCCO9pxP60B0B0/1i/4Tnu7dApWCCJZUFqUgGonoW6Kf5u54vbECSwvB0/4yX7f16uSkYamA2GOk937j76bxuVDUI2Rf7Z7+csQ0oCwDfi6U6`,encode:``,"aria-label":`复制`,"data-copied":`已复制`}),r($,{expanded:``,type:`folder`,filename:`docs`,level:0},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:folder-type-docs`})]),default:e(()=>[r($,{expanded:``,type:`folder`,filename:`blog`,level:1},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),comment:e(()=>[...s[132]||=[i(`# post 类型 collection`,-1)]]),default:e(()=>[r($,{expanded:``,type:`folder`,filename:`1.前端`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`folder`,filename:`1.html`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`…`,level:4})]),_:1}),r($,{type:`folder`,filename:`2.css`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`…`,level:4})]),_:1}),r($,{type:`folder`,filename:`3.javascript`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`…`,level:4})]),_:1})]),_:1}),r($,{type:`folder`,filename:`2.后端`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`…`,level:3})]),_:1}),r($,{type:`folder`,filename:`运维`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`…`,level:3})]),_:1})]),_:1}),r($,{expanded:``,type:`folder`,filename:`typescript`,level:1},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),comment:e(()=>[...s[133]||=[i(`# doc 类型 collection`,-1)]]),default:e(()=>[r($,{expanded:``,type:`folder`,filename:`1.基础`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`1.变量.md`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1}),r($,{type:`file`,filename:`2.类型.md`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),r($,{type:`file`,filename:`2.进阶.md`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1})]),_:1})]),s[149]||=o(`p`,null,`主题将根据目录结构自动生成分类页面或者侧边栏。`,-1),s[150]||=o(`h3`,{id:`文件命名约定`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#文件命名约定`},[o(`span`,null,`文件命名约定`)])],-1),o(`p`,null,[s[135]||=i(`文件命名遵循与`,-1),s[136]||=o(`a`,{href:`#%E6%96%87%E4%BB%B6%E5%A4%B9%E5%91%BD%E5%90%8D%E7%BA%A6%E5%AE%9A`},`文件夹命名约定`,-1),s[137]||=i(`相同的规则,为笔记功能的`,-1),r(X,{href:`../../config/notes.md#%E8%87%AA%E5%8A%A8%E7%94%9F%E6%88%90%E4%BE%A7%E8%BE%B9%E6%A0%8F`},{default:e(()=>[...s[134]||=[i(`自动生成侧边栏`,-1)]]),_:1}),s[138]||=i(`提供排序依据。`,-1)]),s[151]||=o(`h2`,{id:`开始写作`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#开始写作`},[o(`span`,null,`开始写作`)])],-1),o(`p`,null,[s[140]||=i(`现在您可以在 `,-1),s[141]||=o(`code`,null,`docs`,-1),s[142]||=i(` 目录下创建 Markdown 文件开始写作了。关于 Markdown 扩展功能的完整说明,请参阅`,-1),r(X,{href:`../markdown/extensions.md`},{default:e(()=>[...s[139]||=[i(`扩展语法文档`,-1)]]),_:1}),s[143]||=i(`。`,-1)]),s[152]||=a(`<p>由于主题默认自动生成文章标题,正文内容的标题应从二级标题 <code>## 二级标题</code> 开始。如果禁用了 <code>autoFrontmatter.title</code>,则使用一级标题 <code># 一级标题</code> 开始。</p><h3 id="文章标签" tabindex="-1"><a class="header-anchor" href="#文章标签"><span>文章标签</span></a></h3><p>通过 <code>frontmatter.tags</code> 为文章添加标签:</p><div class="language-md" data-highlighter="shiki" data-ext="md" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-md"><span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span>
|
||
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">title</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 我的文章</span></span>
|
||
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">tags</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> -</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 标签1</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> -</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 标签2</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span></code></pre></div>`,4)])}var Y=te(ne,[[`render`,se]]);export{s as _pageData,Y as default}; |