mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 11:44:07 +01:00
Experimental support for gantt diagrams
This commit is contained in:
@@ -27,6 +27,11 @@ module.exports.detectType = function(text,a){
|
||||
return "info";
|
||||
}
|
||||
|
||||
if(text.match(/^\s*gantt/)) {
|
||||
//console.log('Detected info syntax');
|
||||
return "gantt";
|
||||
}
|
||||
|
||||
return "graph";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user