Add custom font styles and theme enhancements

- Created a new CSS file for font imports and defined font families for base, mono, strong, em, and h1 elements.
- Added a new JavaScript file to extend the default VitePress theme, incorporating a custom layout and a Vue component for enhanced functionality.
- Integrated Mermaid diagram support and included the necessary styles for it.
This commit is contained in:
2026-06-02 13:03:25 +08:00
parent 6e577b15a2
commit b9bbcf131e
26 changed files with 4274 additions and 18 deletions

View File

@@ -0,0 +1,21 @@
---
name: "{知识点}"
description: "{知识点描述}"
aliases: # 别名、同义词、缩写、全名、翻译名等
- {别称-1}
- {别称-2}
tags: # 仅分类标签,如:解剖、蛋白、现象、机制、人物、公司、产品等
- {分类-1}
- ...
created_at: {YYYY-MM-DD} # 页面创建时间
updated_at: {YYYY-MM-DD} # 页面更新时间
---
# {知识点}
<!-- 正文内容 -->
## 相关资料
- [{资料摘要}](../sources/{资料摘要}.md)
- ...

View File

@@ -0,0 +1,21 @@
# 知识库概览
{知识库描述}
{知识结构逻辑}
## 知识地图
{mermaid流程图}
<!-- 图表中出现节点的描述 -->
- **节点-1**
- {描述-1}
- {描述-2}
- ...
- **节点-2**
- {描述-1}
- {描述-2}
- ...

View File

@@ -0,0 +1,22 @@
---
title: "{原始标题}" # 原始资料的原标题,不翻译。如:论文标题、网页文章标题
abstract: "{原始摘要}" # 原始资料的原摘要、总结,不翻译。如:论文摘要、网页文章总结
source: {原始地址} # 原始资料的文件路径或网址,并确保链接正常
tags: # 仅分类标签,如:论文、专利、会议等
- {分类-1}
- ...
created_at: {YYYY-MM-DD} # 页面创建时间
updated_at: {YYYY-MM-DD} # 页面更新时间
---
# {原始标题的中文翻译}
{原始摘要的中文翻译}
## 关键结论
- {结论-1}
- {结论-2}
- ...
<!-- 正文内容 -->