diff --git a/static/client.mjs b/static/client.mjs index 46db6ae..7307575 100644 --- a/static/client.mjs +++ b/static/client.mjs @@ -47,6 +47,9 @@ ws.addEventListener('message', (event) => { switch (key) { case 'UPDATE': document.getElementById('body-content').innerHTML = value; + (async () => { + await mermaid.run({ querySelector: '.mermaid' }); + })(); break; case 'SCROLL': viv_scrollTo(value);