diff --git a/docs/notes/theme/guide/介绍.md b/docs/notes/theme/guide/介绍.md index 3ab2b410..01c99b04 100644 --- a/docs/notes/theme/guide/介绍.md +++ b/docs/notes/theme/guide/介绍.md @@ -11,7 +11,7 @@ tags: ## 介绍 -**vuepress-theme-plume** 是一个基于 VuePress 的主题,适用于 博客、文档 和 知识笔记 。 +==vuepress-theme-plume== 是一个基于 VuePress 的主题,适用于 博客、文档 和 知识笔记 。 VuePress 是一个 [静态站点生成器](https://en.wikipedia.org/wiki/Static_site_generator) (SSG) 。 专为构建快速、以内容为中心的站点而设计。 @@ -40,7 +40,7 @@ VuePress 是一个 [静态站点生成器](https://en.wikipedia.org/wiki/Static_ - 支持使用单独的主题配置文件,避免修改配置导致频繁重启 VuePress 服务。 - 大幅度简化了配置,更易于使用,同时还保留了丰富灵活的配置项,满足个性化的需求。 -`plume` 主题尽可能的内置你可能需要的功能,以及搭建站点所需要的一般性配置,您无需关注这些细节。 +==plume 主题== 尽可能的内置你可能需要的功能,以及搭建站点所需要的一般性配置,您无需关注这些细节。 目的是,让您更专注于 内容的创作,更好的表达你的想法,享受 Markdown 增强语法带来的便利。 ## 功能 diff --git a/docs/notes/theme/snippet/echarts-1.snippet.md b/docs/notes/theme/snippet/echarts-1.snippet.md index b41cb7f6..02e104dc 100644 --- a/docs/notes/theme/snippet/echarts-1.snippet.md +++ b/docs/notes/theme/snippet/echarts-1.snippet.md @@ -29,11 +29,11 @@ const option = { return ( `${date.getDate() }/${ - date.getMonth() + 1 + date.getMonth() + 1 }/${ - date.getFullYear() + date.getFullYear() } : ${ - params.value[1]}` + params.value[1]}` ) }, axisPointer: { diff --git a/plugins/plugin-md-power/src/node/prepareConfigFile.ts b/plugins/plugin-md-power/src/node/prepareConfigFile.ts index b1bdaca4..7c39314b 100644 --- a/plugins/plugin-md-power/src/node/prepareConfigFile.ts +++ b/plugins/plugin-md-power/src/node/prepareConfigFile.ts @@ -63,8 +63,8 @@ ${Array.from(imports.values()).join('\n')} export default defineClientConfig({ enhance({ router, app }) { ${Array.from(enhances.values()) - .map(item => ` ${item}`) - .join('\n')} + .map(item => ` ${item}`) + .join('\n')} } }) `, diff --git a/plugins/plugin-shikiji/src/node/highlight/getLanguage.ts b/plugins/plugin-shikiji/src/node/highlight/getLanguage.ts index b6819636..ce19d0cf 100644 --- a/plugins/plugin-shikiji/src/node/highlight/getLanguage.ts +++ b/plugins/plugin-shikiji/src/node/highlight/getLanguage.ts @@ -14,8 +14,8 @@ export function getLanguage( if (!langLoaded && !isPlainLang(lang) && !isSpecialLang(lang)) { logger.warn( c.yellow( - `\nThe language '${lang}' is not loaded, falling back to '${defaultLang || 'txt' - }' for syntax highlighting.`, + `\nThe language '${lang}' is not loaded, falling back to '${defaultLang || 'txt' + }' for syntax highlighting.`, ), ) lang = defaultLang diff --git a/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts b/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts index 63670e9d..627bce91 100644 --- a/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts +++ b/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts @@ -21,19 +21,19 @@ import { useCollapsedLines } from '${CLIENT_FOLDER}composables/collapsed-lines.j export default { ${twoslash -? `enhance({ app }) { + ? `enhance({ app }) { enhanceTwoslash(app) },` -: ''} + : ''} ${copyCode -? `setup() { + ? `setup() { useCopyCode({ selector: __CC_SELECTOR__, duration: __CC_DURATION__, }) useCollapsedLines() },` -: ''} + : ''} } `, )