diff --git a/config.json.example b/config.json.example index 1c313e23..18959393 100644 --- a/config.json.example +++ b/config.json.example @@ -125,7 +125,7 @@ }, "plantuml": { - "server": "http://www.plantuml.com/plantuml" + "server": "https://www.plantuml.com/plantuml" } } } diff --git a/lib/config/default.js b/lib/config/default.js index 692c9b48..c9e09c00 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -153,6 +153,9 @@ module.exports = { email: undefined } }, + plantuml: { + server: 'https://www.plantuml.com/plantuml' + }, email: true, allowEmailRegister: true, allowGravatar: true, diff --git a/public/js/index.js b/public/js/index.js index 7e774982..938ad908 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -97,7 +97,7 @@ var cursorActivityDebounce = 50 var cursorAnimatePeriod = 100 var supportContainers = ['success', 'info', 'warning', 'danger', 'spoiler'] var supportCodeModes = ['javascript', 'typescript', 'jsx', 'htmlmixed', 'htmlembedded', 'css', 'xml', 'clike', 'clojure', 'ruby', 'python', 'shell', 'php', 'sql', 'haskell', 'coffeescript', 'yaml', 'pug', 'lua', 'cmake', 'nginx', 'perl', 'sass', 'r', 'dockerfile', 'tiddlywiki', 'mediawiki', 'go', 'gherkin'].concat(hljs.listLanguages()) -var supportCharts = ['sequence', 'flow', 'graphviz', 'mermaid', 'abc'] +var supportCharts = ['sequence', 'flow', 'graphviz', 'mermaid', 'abc', 'plantuml'] var supportHeaders = [ { text: '# h1',