迁移 VuePress Theme Hope 至 V2

迁移 VuePress Theme Hope 至 V2
This commit is contained in:
2024-02-05 21:12:12 +08:00
parent 0627284b91
commit 0a69ec2137
4 changed files with 1811 additions and 20579 deletions

View File

@@ -54,23 +54,14 @@ export default hopeTheme({
mdEnhance: {
align: true,
attrs: true,
chart: true,
codetabs: true,
demo: false,
echarts: true,
component: true,
demo: true,
figure: true,
flowchart: false,
gfm: true,
imgLazyload: true,
imgSize: true,
include: true,
katex: true,
mark: true,
mermaid: true,
playground: {
presets: ["ts", "vue"],
},
presentation: ["highlight", "math", "search", "notes", "zoom"],
stylize: [
{
matcher: "Recommended",
@@ -88,7 +79,44 @@ export default hopeTheme({
sup: true,
tabs: true,
vPre: true,
vuePlayground: false,
// install chart.js before enabling it
// chart: true,
// insert component easily
// install echarts before enabling it
// echarts: true,
// install flowchart.ts before enabling it
// flowchart: true,
// gfm requires mathjax-full to provide tex support
// gfm: true,
// install katex before enabling it
// katex: true,
// install mathjax-full before enabling it
// mathjax: true,
// install mermaid before enabling it
// mermaid: true,
// playground: {
// presets: ["ts", "vue"],
// },
// install reveal.js before enabling it
// revealJs: {
// plugins: ["highlight", "math", "search", "notes", "zoom"],
// },
// install @vue/repl before enabling it
// vuePlayground: true,
// install sandpack-vue3 before enabling it
// sandpack: true,
},
},
});