mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-26 11:38:15 +08:00
83 lines
55 KiB
JavaScript
83 lines
55 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":"/en/guide/write/","title":"Writing Articles | Guide","lang":"en-US","frontmatter":{"title":"Writing Articles","icon":"mingcute:edit-4-line","createTime":"2025/10/08 10:06:06","permalink":"/en/guide/write/","tags":["Guide","Quick Start"],"description":"VuePress fully supports , while also allowing page metadata (such as title, creation time, etc.) to be defined via Frontmatter in YAML format. Additionally, the theme provides e...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Writing Articles\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2026-04-02T12:48:55.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/en/guide/write/"}],["meta",{"property":"og:site_name","content":"Plume Theme"}],["meta",{"property":"og:title","content":"Writing Articles"}],["meta",{"property":"og:description","content":"VuePress fully supports , while also allowing page metadata (such as title, creation time, etc.) to be defined via Frontmatter in YAML format. Additionally, the theme provides e..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2026-04-02T12:48:55.000Z"}],["meta",{"property":"article:tag","content":"Quick Start"}],["meta",{"property":"article:tag","content":"Guide"}],["meta",{"property":"article:modified_time","content":"2026-04-02T12:48:55.000Z"}],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://theme-plume.vuejs.press/guide/write/"}]]},"readingTime":{"minutes":2.44,"words":732},"git":{"createdTime":1741490087000,"updatedTime":1775134135000,"contributors":[{"name":"zhenghaoyang24","username":"zhenghaoyang24","email":"95458562+zhenghaoyang24@users.noreply.github.com","commits":2,"avatar":"https://avatars.githubusercontent.com/zhenghaoyang24?v=4","url":"https://github.com/zhenghaoyang24"},{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":6,"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":"385059f214cb07fc9a098859e889432fb81f998b","time":1759995965000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update en docs (#708)"},{"hash":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"},{"hash":"9f99ae3ca72b3085c6cd383a9084f42be299c400","time":1743080813000,"email":"95458562+zhenghaoyang24@users.noreply.github.com","author":"zhenghaoyang24","message":"docs: add en <code>markdown</code> doc (#538)","coAuthors":[{"name":"pengzhanbo","email":"volodymyr@foxmail.com"}]},{"hash":"a4ac3a30e0b74175b3cd4fd82c52b2321b013926","time":1741490087000,"email":"95458562+zhenghaoyang24@users.noreply.github.com","author":"zhenghaoyang24","message":"docs: add en-US docs (#514)","coAuthors":[{"name":"pengzhanbo","email":"volodymyr@foxmail.com"}]}]},"autoDesc":true,"filePathRelative":"en/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 fully supports `,-1),r(X,{href:`../markdown/basic.md`},{default:e(()=>[...s[0]||=[i(`Standard Markdown Syntax`,-1)]]),_:1}),s[2]||=i(`, while also allowing page metadata (such as title, creation time, etc.) to be defined via Frontmatter in `,-1),s[3]||=o(`a`,{href:`https://dev.to/paulasantamaria/introduction-to-yaml-125f`,target:`_blank`,rel:`noopener noreferrer`},`YAML`,-1),s[4]||=i(` format.`,-1)]),o(`p`,null,[s[6]||=i(`Additionally, the theme provides extensive `,-1),r(X,{href:`../markdown/extensions.md`},{default:e(()=>[...s[5]||=[i(`Markdown Extended Syntax`,-1)]]),_:1}),s[7]||=i(`. You can not only write HTML directly in Markdown but also use Vue components to enhance content expressiveness.`,-1)]),s[144]||=o(`h2`,{id:`frontmatter-page-configuration`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#frontmatter-page-configuration`},[o(`span`,null,`Frontmatter Page Configuration`)])],-1),s[145]||=o(`p`,null,[i(`Frontmatter allows you to customize the properties and behavior of each page. Frontmatter is located at the top of the file, enclosed by `),o(`code`,null,`---`),i(` delimiters.`)],-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: Article 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;">Page content starts after the second </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,`What is Frontmatter?`,-1),s[14]||=o(`p`,null,[i(`Frontmatter is a configuration block using `),o(`a`,{href:`https://dev.to/paulasantamaria/introduction-to-yaml-125f`,target:`_blank`,rel:`noopener noreferrer`},`YAML`),i(` format, located at the top of a Markdown file and delimited by `),o(`code`,null,`---`),i(`.`)],-1),o(`p`,null,[s[11]||=i(`It is recommended to read the `,-1),r(X,{href:`../auto-frontmatter.md`},{default:e(()=>[...s[10]||=[i(`Frontmatter Detailed Guide`,-1)]]),_:1}),s[12]||=i(` for the complete syntax specification.`,-1)])]),s[146]||=a(`<h2 id="automatic-frontmatter-generation" tabindex="-1"><a class="header-anchor" href="#automatic-frontmatter-generation"><span>Automatic Frontmatter Generation</span></a></h2><p>After the development server starts, the theme automatically generates necessary Frontmatter fields for Markdown files in the documentation source directory, including: <strong>title</strong>, <strong>creation time</strong>, and <strong>permalink</strong>.</p><p>This feature reduces the repetitive workload for content creators and provides essential data support for the theme's subsequent functionalities.</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;"> Title</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="title-generation-rules" tabindex="-1"><a class="header-anchor" href="#title-generation-rules"><span>Title Generation Rules</span></a></h3><p>The theme uses the filename as the article title by default. During parsing, the sequence number and extension from the <a href="#file-naming-convention">File Naming Convention</a> are automatically removed. For example, <code>1.my-article.md</code> will generate the title <code>my-article</code>.</p><h3 id="creation-time" tabindex="-1"><a class="header-anchor" href="#creation-time"><span>Creation Time</span></a></h3><p>The theme uses the file's creation time as the baseline, formatted as <code>yyyy/MM/dd HH:mm:ss</code>, to serve as the article creation time.</p><h3 id="permalink" tabindex="-1"><a class="header-anchor" href="#permalink"><span>Permalink</span></a></h3><p>The <strong>permalink</strong> is the fixed access URL for the article after publication. Once generated, this link remains constant even if the file path or name changes.</p><p>Setting the permalink in advance helps:</p><ul><li>Improve <strong>SEO effectiveness</strong> by avoiding frequent changes to indexed URLs</li><li>Maintain <strong>consistency</strong> in the site's overall link style</li></ul><h3 id="disabling-automatic-generation" tabindex="-1"><a class="header-anchor" href="#disabling-automatic-generation"><span>Disabling Automatic Generation</span></a></h3>`,13),o(`p`,null,[s[16]||=i(`If full manual control over Frontmatter is required, automatic generation can be disabled via `,-1),r(X,{href:`../../config/theme.md#autofrontmatter`},{default:e(()=>[...s[15]||=[i(`Theme Configuration > 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;"> // Completely disable all automatic generation</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;"> // Enable specific features as needed</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`}},`// Generate permalink`,-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`}},`// Generate creation time`,-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`}},`// Generate title`,-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;">Blog</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`}},` // Configure for specific 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:`file-organization-conventions`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#file-organization-conventions`},[o(`span`,null,`File Organization Conventions`)])],-1),o(`div`,J,[s[131]||=o(`p`,{class:`hint-container-title`},`Note`,-1),o(`p`,null,[s[129]||=i(`The following examples are based on the baseline file structure from the `,-1),r(X,{href:`./project-structure.md`},{default:e(()=>[...s[128]||=[i(`Project Structure`,-1)]]),_:1}),s[130]||=i(`.`,-1)])]),s[148]||=a(`<p>The theme provides a flexible file organization approach. You can create Markdown files with any preferred names within the <code>docs</code> directory.</p><h3 id="directory-naming-convention" tabindex="-1"><a class="header-anchor" href="#directory-naming-convention"><span>Directory Naming Convention</span></a></h3><p>The theme applies the following rules to directory names within the <code>docs</code> directory:</p><p>For <code>post</code> type collections:</p><ul><li>Directory names serve as article <strong>categories</strong></li><li>Multi-level directories are supported, with subdirectories acting as children of parent categories</li></ul><p>When sorting is required, use the following naming pattern (applicable to all collection types):</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;">// Format: Number + . + Category Name</span></span>
|
||
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Example: 1.Frontend</span></span></code></pre></div><p>The numeric part serves as the <strong>sorting basis</strong>. Directories without numbers are sorted according to default rules.</p><p><strong>Example Structure:</strong></p>`,9),o(`div`,oe,[r(le,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQol5eSnQ4WaUCQM9dyK8vNKUvNSUKTRFWWU5ObgUWCkl1wMsxJZHuYiY72sxLLE4uSizIISrM4w0nNKTM5GdwVMu0tqmX8BzHyYYEllQSqSiaj+NQSaV5wJDQbs/g5LLMpMTMpJLdbLhdiKzWYjvRCQNahKEJKOKWWJecmpKUB5AHXvmlQ=`,encode:``,"aria-label":`Copy`,"data-copied":`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 type collection`,-1)]]),default:e(()=>[r($,{expanded:``,type:`folder`,filename:`1.Frontend`,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.Backend`,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:`DevOps`,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 type collection`,-1)]]),default:e(()=>[r($,{expanded:``,type:`folder`,filename:`1.Basics`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[r($,{type:`file`,filename:`1.Variables.md`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1}),r($,{type:`file`,filename:`2.Types.md`,level:3},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),r($,{type:`file`,filename:`2.Advanced.md`,level:2},{icon:e(()=>[r(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1})]),_:1})]),s[149]||=o(`p`,null,`The theme automatically generates category pages or sidebars based on the directory structure.`,-1),s[150]||=o(`h3`,{id:`file-naming-convention`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#file-naming-convention`},[o(`span`,null,`File Naming Convention`)])],-1),o(`p`,null,[s[135]||=i(`File naming follows the same rules as the `,-1),s[136]||=o(`a`,{href:`#directory-naming-convention`},`Directory Naming Convention`,-1),s[137]||=i(`, providing sorting basis for the `,-1),r(X,{href:`../../config/notes.md#auto-generated-sidebar`},{default:e(()=>[...s[134]||=[i(`auto-generated sidebar`,-1)]]),_:1}),s[138]||=i(` in the notes feature.`,-1)]),s[151]||=o(`h2`,{id:`start-writing`,tabindex:`-1`},[o(`a`,{class:`header-anchor`,href:`#start-writing`},[o(`span`,null,`Start Writing`)])],-1),o(`p`,null,[s[140]||=i(`You can now create Markdown files under the `,-1),s[141]||=o(`code`,null,`docs`,-1),s[142]||=i(` directory to start writing. For a complete description of Markdown extension features, please refer to the `,-1),r(X,{href:`../markdown/extensions.md`},{default:e(()=>[...s[139]||=[i(`Extended Syntax Documentation`,-1)]]),_:1}),s[143]||=i(`.`,-1)]),s[152]||=a(`<p>Since the theme automatically generates article titles by default, the main content should start with level 2 headings <code>## Level 2 Heading</code>. If <code>autoFrontmatter.title</code> is disabled, start with level 1 headings <code># Level 1 Heading</code>.</p><h3 id="article-tags" tabindex="-1"><a class="header-anchor" href="#article-tags"><span>Article Tags</span></a></h3><p>Add tags to articles via <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;"> My Article</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;"> Tag1</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> -</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> Tag2</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}; |