Actualiza el plugin Additionals a 3.0.2-master
This commit is contained in:
parent
3b6a41320c
commit
cfa0d58b18
164 changed files with 2027 additions and 58190 deletions
|
@ -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 });
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue