feat: support mermaid display

This commit is contained in:
Li Xianggang
2026-03-02 11:25:02 +08:00
committed by lyingbug
parent 92e95b19ed
commit db21694dd5
7 changed files with 1514 additions and 32 deletions
+15
View File
@@ -6,6 +6,21 @@
cursor: pointer;
}
// Mermaid 图表样式
.mermaid {
margin: 16px 0;
padding: 16px;
background: #f8f9fa;
border-radius: 8px;
overflow-x: auto;
text-align: center;
svg {
max-width: 100%;
height: auto;
}
}
h1,
h2,
h3,