better theme

This commit is contained in:
binary-husky
2024-01-21 19:41:18 +08:00
parent b55d573819
commit d818c38dfe
6 changed files with 32 additions and 66 deletions

View File

@@ -106,7 +106,7 @@ const uml = async className => {
defaultConfig.theme = "dark"
}
const Module = await import('./file=themes/mermaid_editor.js');
const Module = await import('/file=themes/mermaid_editor.js');
function do_render(block, code, codeContent, cnt) {
var rendered_content = mermaid.render(`_diagram_${cnt}`, code);