Spoiler
Less than 1 minute
Hide spoiler contents in your VuePress site.
Settings
import { hopeTheme } from "vuepress-theme-hope";
export default {
theme: hopeTheme({
plugins: {
mdEnhance: {
spoiler: true,
},
},
}),
};
Syntax
Use !! !!
to mark a content as spoiler.
Demo
VuePress Theme Hope is powerful.
VuePress Theme Hope is !!powerful!!.