mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-12 16:54:10 +01:00
Use the mermaid theme
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
function colorizeEverything() {
|
function colorizeEverything() {
|
||||||
colorize.map((id) => {
|
colorize.map((id) => {
|
||||||
monaco.editor.colorizeElement(document.getElementById('code' + id))
|
monaco.editor.colorizeElement(document.getElementById('code' + id), { theme: 'mermaid' })
|
||||||
})
|
})
|
||||||
colorize = colorize.filter(colorizeEl => colorizeEl)
|
colorize = colorize.filter(colorizeEl => colorizeEl)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user