Initial commit for classDiagram v2

This commit is contained in:
Ashish Jain
2020-06-24 19:34:12 +02:00
parent e13662dd2c
commit 85d4f2843e
6 changed files with 592 additions and 1 deletions

View File

@@ -169,10 +169,13 @@ export const detectType = function(text) {
if (text.match(/^\s*gantt/)) {
return 'gantt';
}
if (text.match(/^\s*classDiagram-v2/)) {
return 'classDiagram';
}
if (text.match(/^\s*classDiagram/)) {
return 'class';
}
if (text.match(/^\s*stateDiagram-v2/)) {
return 'stateDiagram';
}