TSK-1692 Use code tag for inline code block (#5414)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2024-04-21 00:13:29 +07:00 committed by GitHub
parent c1bb39898e
commit fc285330bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@
{#if mark.type === MarkupMarkType.bold} {#if mark.type === MarkupMarkType.bold}
<strong><slot /></strong> <strong><slot /></strong>
{:else if mark.type === MarkupMarkType.code} {:else if mark.type === MarkupMarkType.code}
<pre class="proseCode"><slot /></pre> <code class="proseCode"><slot /></code>
{:else if mark.type === MarkupMarkType.em} {:else if mark.type === MarkupMarkType.em}
<em><slot /></em> <em><slot /></em>
{:else if mark.type === MarkupMarkType.link} {:else if mark.type === MarkupMarkType.link}