1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-24 18:49:53 +08:00

perf: 升级依赖版本,支持锁定node18.18

This commit is contained in:
mmdapl
2023-09-28 11:08:37 +08:00
committed by GitHub
parent f0d5e05936
commit a1dfbaf1d3
22 changed files with 2461 additions and 1924 deletions

View File

@@ -6,26 +6,6 @@ export const navbar = [
text: '首页',
link: '/'
},
// {
// text: "算法恶补",
// children: [{
// text: '习题狂刷',
// link: '/manuscripts/algorithm/topic_practice'
// }, {
// text: '刷题笔记',
// link: '/manuscripts/algorithm/algorithm_note'
// }, {
// text: '在线刷题',
// children: [{
// text: '杭电OJ', link: 'http://acm.hdu.edu.cn/'
// },
// {
// text: '牛客网', link: 'https://www.nowcoder.com/'
// }, {
// text: 'LeetCode', link: 'https://leetcode-cn.com/'
// }]
// }]
// },
{
text: "数据结构",
link: "/manuscripts/ds"

View File

@@ -76,6 +76,37 @@ export default {
// 代码块
mdEnhance: {
codetabs: true,
tasklist: true, // 支持任务列表
// 启用 figure
figure: true,
// 启用图片懒加载
imgLazyload: true,
// 启用图片标记
imgMark: true,
// 启用图片大小
imgSize: true,
playground: {
presets: ["ts", "vue"],
},
presentation: ["highlight", "math", "search", "notes", "zoom"],
stylize: [
{
matcher: "Recommended",
replacer: ({tag}) => {
if (tag === "em")
return {
tag: "Badge",
attrs: {type: "tip"},
content: "Recommended",
};
},
},
],
sub: true,
sup: true,
tabs: true,
vPre: true,
vuePlayground: true,
},
copyCode: {
showInMobile: true