Add QuardantChart and Mindmap to diagram types

This commit is contained in:
Sidharth Vinod
2023-06-09 23:18:52 +05:30
parent 7db475acb2
commit ca5610ab79
+3 -1
View File
@@ -37,7 +37,9 @@ export const detectType = (text: string): string | undefined => {
'graph',
'journey',
'pie',
'stateDiagram'
'stateDiagram',
'quadrantChart',
'mindmap'
];
const firstLine = text
.replace(/^\s*%%.*\n/g, '\n')