mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
12 lines
415 B
JavaScript
12 lines
415 B
JavaScript
|
import mermaid from 'mermaid';
|
||
|
|
||
|
var config = {
|
||
|
theme: 'default',
|
||
|
fontFamily: '"Jost", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',
|
||
|
};
|
||
|
|
||
|
document.addEventListener('DOMContentLoaded', () => {
|
||
|
mermaid.initialize(config);
|
||
|
mermaid.init(undefined, '.language-mermaid');
|
||
|
});
|