refac
This commit is contained in:
1 parent
ed47e24494
commit
097e90f1de
1 file changed
+4
@@ -276,6 +276,10 @@ __builtins__.input = input`);
|
||||
|
||||
onMount(async () => {
|
||||
console.log('codeblock', lang, code);
|
||||
|
||||
if (lang) {
|
||||
dispatch('code', { lang });
|
||||
}
|
||||
if (document.documentElement.classList.contains('dark')) {
|
||||
mermaid.initialize({
|
||||
startOnLoad: true,
|
||||
|
||||
Reference in new issue
Block a user