“隐秘” 文本
约 167 字小于 1 分钟
2024-08-18
概述
使用 <VPPlot> 组件显示 "隐秘"文本,能够更灵活地控制行为。
该组件默认不启用,你需要在 theme 配置中启用。
.vuepress/config.ts
export default defineUserConfig({
theme: plumeTheme({
markdown: {
plot: true,
},
})
})Props
示例
输入:
- 鼠标悬停 - <VPPlot>悬停时可见</VPPlot>
- 点击 - <VPPlot trigger="click">点击时可见</VPPlot>输出:
- 鼠标悬停 - 悬停时可见
- 点击 - 点击时可见
贡献者
更新日志
2026/9/12 10:04
查看所有更新日志
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)于6e6f9-docs: improve docs (#509)于e3b1c-docs: improve docs于
