This commit is contained in:
Timothy J. Baek 2024-10-06 00:30:50 -07:00
parent ed47e24494
commit 097e90f1de

View File

@ -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,