enh: codespan styling
This commit is contained in:
1 parent
3dc90b854c
commit
f7d1225c23
2 files changed
+15
-1
No files matched your search
@@ -31,7 +31,7 @@
|
||||
<svelte:self id={`${id}-em`} tokens={token.tokens} />
|
||||
</em>
|
||||
{:else if token.type === 'codespan'}
|
||||
<code>{unescapeHtml(token.text.replaceAll('&', '&'))}</code>
|
||||
<code class="codespan">{unescapeHtml(token.text.replaceAll('&', '&'))}</code>
|
||||
{:else if token.type === 'br'}
|
||||
<br />
|
||||
{:else if token.type === 'del'}
|
||||
|
||||
Reference in new issue
Block a user