Use the mermaid theme

This commit is contained in:
Yash-Singh1 2021-10-31 15:14:11 -07:00
parent 1b7e690ec1
commit fdfb5d8270
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
function colorizeEverything() {
colorize.map((id) => {
monaco.editor.colorizeElement(document.getElementById('code' + id))
monaco.editor.colorizeElement(document.getElementById('code' + id), { theme: 'mermaid' })
})
colorize = colorize.filter(colorizeEl => colorizeEl)
}