#945 Rendering of start & end node

This commit is contained in:
Knut Sveidqvist
2019-09-25 21:01:21 +02:00
parent 2306534248
commit fad76ad534
5 changed files with 480 additions and 75 deletions

View File

@@ -33,6 +33,10 @@ export const detectType = function(text) {
return 'class';
}
if (text.match(/^\s*stateDiagram/)) {
return 'state';
}
if (text.match(/^\s*gitGraph/)) {
return 'git';
}