Commit 1597e33a authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: mermaid chart rendering

parent 0b218bbb
......@@ -222,6 +222,9 @@ __builtins__.input = input`);
</script>
<div class="my-2" dir="ltr">
{#if lang === 'mermaid'}
<pre class="mermaid">{code}</pre>
{:else}
<div
class="flex justify-between bg-[#202123] text-white text-xs px-4 pt-1 pb-0.5 rounded-t-lg overflow-x-auto"
>
......@@ -273,4 +276,5 @@ __builtins__.input = input`);
<div class="text-sm">{stdout || stderr || result}</div>
</div>
{/if}
{/if}
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment