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