“隐秘” 文本
约 190 字
概述
使用 <VPPlot> 组件显示 "隐秘"文本,能够更灵活地控制行为。
该组件默认可用。
如果需要修改全站默认行为,可以通过 markdown.plot 传入对象配置:
.vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
theme: plumeTheme({
markdown: {
plot: {
trigger: 'click',
},
},
})
})Props
示例
输入:
- 鼠标悬停 - <VPPlot>悬停时可见</VPPlot>
- 点击 - <VPPlot trigger="click">点击时可见</VPPlot>输出:
- 鼠标悬停 - 悬停时可见
- 点击 - 点击时可见
贡献者
更新日志
2026/10/13 15:56
查看所有更新日志
e4dae-docs: improve docs (#1071)于60619-docs: improve docs (#1069)于7a454-feat(plugin-md-power): dropoptionaltag infieldcontainer (#987)于1d04d-feat: add builtin auto-import-components (#932)于16c2d-docs: update field container于97a5b-docs: fix typo于4d236-feat(theme)!: add collections support (#704)于9efa2-feat(plugin-md-power): improveplotbehavior (#620)于d1496-docs: update docs于0fd6c-refactor(theme): improve types and flat config (#524)于
