Actualiza el plugin Additionals a 3.0.2-master

This commit is contained in:
Manuel Cillero 2021-03-20 11:12:56 +01:00
parent 3b6a41320c
commit cfa0d58b18
164 changed files with 2027 additions and 58190 deletions

View file

@ -1,5 +1,16 @@
$(function() {
mermaid.initialize({ startOnLoad: true,
theme: 'default',
themeVariables: { 'fontSize': '12px' } });
if (globalThis !== undefined && globalThis.mermaidTheme !== undefined) {
var mermaidTheme = globalThis.mermaidTheme;
} else {
var mermaidTheme = 'default';
}
if (globalThis !== undefined && globalThis.mermaidThemeVariables !== undefined) {
var mermaidThemeVariables = globalThis.mermaidThemeVariables;
} else {
var mermaidThemeVariables = { 'fontSize': '12px' };
}
mermaid.initialize({
startOnLoad: true,
theme: mermaidTheme,
themeVariables: mermaidThemeVariables });
});