mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
docs: update docs
This commit is contained in:
parent
28d45d566c
commit
059ed95cb2
@ -133,12 +133,6 @@ interface AutoFrontmatter {
|
||||
* 默认读取 文件创建时间,`createTitme` 比 vuepress 默认的 `date` 时间更精准到秒
|
||||
*/
|
||||
createTime?: boolean
|
||||
/**
|
||||
* 是否自动生成 author
|
||||
*
|
||||
* 默认读取 `profile.name` 或 `package.json` 的 `author`
|
||||
*/
|
||||
author?: boolean
|
||||
/**
|
||||
* 是否自动生成 title
|
||||
*
|
||||
|
||||
@ -16,6 +16,12 @@ tags:
|
||||
|
||||
同时,还提供了其它的语法支持。
|
||||
|
||||
::: important
|
||||
如果您正在使用 **vuepress-theme-plume** 主题,主题已内置了 本插件,您无需安装本插件。
|
||||
|
||||
只需要在 [配置 > 内置插件 > md-power](../theme/config/plugins/markdownPower.md) 中配置本插件即可。
|
||||
:::
|
||||
|
||||
## 安装
|
||||
|
||||
::: code-tabs
|
||||
|
||||
@ -12,6 +12,12 @@ tags:
|
||||
|
||||
使用 [`shiki`](https://shiki.style) 来为 Markdown 代码块启用代码高亮。
|
||||
|
||||
::: important
|
||||
如果您正在使用 **vuepress-theme-plume** 主题,主题已内置了 本插件,您无需安装本插件。
|
||||
|
||||
只需要在 [配置 > 内置插件 > shiki](../theme/config/plugins/代码高亮.md) 中配置本插件即可。
|
||||
:::
|
||||
|
||||
## 安装
|
||||
|
||||
::: code-tabs
|
||||
|
||||
@ -140,18 +140,14 @@ interface BlogOptions {
|
||||
* @default true
|
||||
*/
|
||||
permalink?: boolean
|
||||
|
||||
/**
|
||||
* 是否自动生成 createTime
|
||||
*
|
||||
* 默认读取 文件创建时间,`createTitme` 比 vuepress 默认的 `date` 时间更精准到秒
|
||||
*/
|
||||
createTime?: boolean
|
||||
/**
|
||||
* 是否自动生成 author
|
||||
*
|
||||
* 默认读取 `profile.name` 或 `package.json` 的 `author`
|
||||
*/
|
||||
author?: boolean
|
||||
|
||||
/**
|
||||
* 是否自动生成 title
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user