Markdown Enhance 弃用
约 228 字小于 1 分钟
2024-03-06
从 1.0.0-rc.154
开始,该插件已从主题中移除
vuepress-plugin-md-enhance 提供的,在主题中明确受到支持 的功能,已迁移到 vuepress/ecosystem
仓库的其他插件中,因此,主题将从 1.0.0-rc.154
开始,安全的 移除 vuepress-plugin-md-enhance
插件。
概述
提供 Markdown 增强功能。
关联插件:vuepress-plugin-md-enhance
默认配置:
.vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
theme: plumeTheme({
markdown: {
// 以下可选项在 主题中默认不启用,
// 请在主题中自行配置
// stylize: true, // 对行内语法进行样式化以创建代码片段
// playground: true, // 交互演示
// kotlinPlayground: true, // Kotlin 交互演示
// vuePlayground: true, // Vue 交互演示
// sandpack: true, // sandpack 交互演示
},
}),
})