-
{@html lang}
+ {#if lang === 'mermaid'}
+
{code}
+ {:else}
+
+
{@html lang}
-
- {#if lang.toLowerCase() === 'python' || lang.toLowerCase() === 'py' || (lang === '' && checkPythonCode(code))}
- {#if executing}
-
Running
- {:else}
-
+
+ {#if lang.toLowerCase() === 'python' || lang.toLowerCase() === 'py' || (lang === '' && checkPythonCode(code))}
+ {#if executing}
+
Running
+ {:else}
+
+ {/if}
{/if}
- {/if}
-
+
+
-
-
{#if highlightedCode}{@html highlightedCode}{:else}{code}{/if}
+
{#if highlightedCode}{@html highlightedCode}{:else}{code}{/if}
-
+
- {#if executing}
-
-
STDOUT/STDERR
-
Running...
-
- {:else if stdout || stderr || result}
-
-
STDOUT/STDERR
-
{stdout || stderr || result}
-
+ {#if executing}
+
+
STDOUT/STDERR
+
Running...
+
+ {:else if stdout || stderr || result}
+
+
STDOUT/STDERR
+
{stdout || stderr || result}
+
+ {/if}
{/if}