diff --git a/www/common/diffMarked.js b/www/common/diffMarked.js index 2b2cf4a1c..35bd82c55 100644 --- a/www/common/diffMarked.js +++ b/www/common/diffMarked.js @@ -84,7 +84,7 @@ define([ var defaultCode = renderer.code; renderer.code = function (code, language) { - if (language === 'mermaid' && (code.match(/^sequenceDiagram/) || code.match(/^(graph|gantt)/))) { + if (language === 'mermaid' && code.match(/^(graph|pie|gantt|sequenceDiagram|classDiagram|gitGraph)/))) { return '
'+code+''; } else { return defaultCode.apply(renderer, arguments);