Update deps

This commit is contained in:
狮子耗耗 2025-01-15 22:27:23 +08:00
parent 0185c6a687
commit 7f71d55b62
3 changed files with 1357 additions and 988 deletions

View File

@ -11,17 +11,17 @@
"docs:update-package": "pnpm dlx vp-update"
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.18",
"sass-embedded": "^1.81.0",
"@vuepress/bundler-vite": "2.0.0-rc.19",
"sass-embedded": "^1.83.4",
"vue": "^3.5.13",
"vuepress": "2.0.0-rc.18",
"vuepress-theme-hope": "2.0.0-rc.59"
"vuepress": "2.0.0-rc.19",
"vuepress-theme-hope": "2.0.0-rc.68"
},
"volta": {
"node": "22.11.0"
},
"dependencies": {
"katex": "^0.16.11",
"vuepress-plugin-search-pro": "2.0.0-rc.59"
"@vuepress/plugin-slimsearch": "2.0.0-rc.61",
"katex": "^0.16.20"
}
}

2239
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,9 +10,6 @@ export default hopeTheme({
url: "https://github.com/szhhwh/",
},
// icon
iconAssets: "fontawesome",
logo: "/logo.png",
logoDark: '/logo-dark.png',
@ -30,11 +27,45 @@ export default hopeTheme({
displayFooter: true,
// encrypt: {
// config: {
// "/demo/encrypt.html": ["1234"],
// },
// },
// markdown
markdown: {
gfm: false,
sub: true,
sup: true,
vPre: true,
vuePlayground: false,
align: true,
attrs: true,
include: true,
chartjs: false,
demo: false,
echarts: false,
flowchart: false,
mark: true,
mermaid: false,
playground: {
presets: ["ts", "vue"],
},
stylize: [
{
matcher: "Recommended",
replacer: ({ tag }) => {
if (tag === "em")
return {
tag: "Badge",
attrs: { type: "tip" },
content: "Recommended",
};
},
},
],
math: {
type: "katex"
},
tabs: true,
imgSize: true,
},
// page meta
metaLocales: {
@ -42,54 +73,15 @@ export default hopeTheme({
},
plugins: {
// All features are enabled for demo, only preserve features you need here
copyright: true,
mdEnhance: {
align: true,
attrs: true,
chart: false,
demo: false,
echarts: false,
flowchart: false,
gfm: false,
include: true,
mark: true,
mermaid: false,
playground: {
presets: ["ts", "vue"],
},
stylize: [
{
matcher: "Recommended",
replacer: ({ tag }) => {
if (tag === "em")
return {
tag: "Badge",
attrs: { type: "tip" },
content: "Recommended",
};
},
},
],
sub: true,
sup: true,
vPre: true,
vuePlayground: false,
},
components: {
components: ["Badge", "BiliBili"],
},
markdownImage: {
figure: true,
lazyload: true,
size: true,
},
markdownMath: {
type: "katex",
},
markdownTab: true,
git: true,
searchPro: true,
slimsearch: true,
icon: {
assets: "fontawesome",
}
},
pageInfo: [
"Author", "Date", "ReadingTime", "Word"