MaterialXLab API  0.0.1
APIs For MaterialXLab Libraries
Loading...
Searching...
No Matches
mermaid_header.js File Reference

Go to the source code of this file.

Variables

var script = document.createElement('script')
 
script src
 

Variable Documentation

◆ script

var script = document.createElement('script')

Definition at line 2 of file mermaid_header.js.

◆ src

script src
Initial value:
= 'https:
script.onload = function () {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')
? 'dark'
: 'default'
});
}

Definition at line 3 of file mermaid_header.js.

3 ://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.min.js';
4script.onload = function () {
5 mermaid.initialize({
6 startOnLoad: true,
7 theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')
8 ? 'dark'
9 : 'default'
10 });
11};
var script