在你的 VuePress 站点中添加剧透文字。
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
export default {
plugins: [
mdEnhancePlugin({
// 开启剧透
spoiler: true,
}),
],
};
使用 !! !!
标记剧透剧透文字。请注意两边需要有空格。
VuePress Theme Hope 非常强大!
VuePress Theme Hope !!非常强大!!!