✨ feat: 添加对 Ace 编辑器的支持和样式优化
This commit is contained in:
@@ -23,6 +23,10 @@ export const mermaidRender = (element: HTMLElement, cdn = Constants.CDN, theme:
|
||||
fontFamily: MERMAID_FONT_FAMILY,
|
||||
fontSize: MERMAID_FONT_SIZE,
|
||||
startOnLoad: false,
|
||||
themeVariables: {
|
||||
fontFamily: MERMAID_FONT_FAMILY,
|
||||
fontSize: MERMAID_FONT_SIZE,
|
||||
},
|
||||
flowchart: {
|
||||
htmlLabels: false,
|
||||
useMaxWidth: !0
|
||||
|
||||
Reference in New Issue
Block a user