summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-03-04 23:26:27 +0800
committerCheng-Han, Wu2016-03-04 23:26:27 +0800
commitb49d4e22616d7ac2a60db08dc69fdaf9b973cb04 (patch)
treee8b8c440036c6fedddf731b78a747e3a5c2eff4c /public/js/index.js
parentc43f9784b4e0ed7299a215f0e3f1e4fce296780f (diff)
Support mermaid in code block diagram and updated all diagram rendering method and styles
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index fd85d6db..4625af05 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -56,7 +56,7 @@ var cursorMenuThrottle = 100;
var cursorActivityDebounce = 50;
var cursorAnimatePeriod = 100;
var supportCodeModes = ['javascript', 'htmlmixed', 'htmlembedded', 'css', 'xml', 'clike', 'clojure', 'ruby', 'python', 'shell', 'php', 'sql', 'coffeescript', 'yaml', 'jade', 'lua', 'cmake', 'nginx', 'perl', 'sass', 'r', 'dockerfile'];
-var supportCharts = ['sequence', 'flow', 'graphviz'];
+var supportCharts = ['sequence', 'flow', 'graphviz', 'mermaid'];
var supportHeaders = [
{
text: '# h1',