#1295 Start renderer

This commit is contained in:
Knut Sveidqvist
2020-03-04 20:35:59 +01:00
parent 2a55e74e11
commit 25e2d78311
11 changed files with 1586 additions and 8 deletions

View File

@@ -41,6 +41,9 @@ export const detectType = function(text) {
if (text.match(/^\s*gitGraph/)) {
return 'git';
}
if (text.match(/^\s*flowchart/)) {
return 'flowchart-v2';
}
if (text.match(/^\s*info/)) {
return 'info';