Add titles to emojis

main
trivernis 5 months ago
parent b091a40bb4
commit 20f2dadbe7
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -24,7 +24,7 @@
{:else if token.type === "codespan"} {:else if token.type === "codespan"}
<code>{@render tokenValue(token)}</code> <code>{@render tokenValue(token)}</code>
{:else if token.type === "emoji"} {:else if token.type === "emoji"}
<span class="emoji">{token.emoji}</span> <span class="emoji" title={token.name}>{token.emoji}</span>
{:else} {:else}
<h4 style="color: var(--color-red)">This needs to be rendered</h4> <h4 style="color: var(--color-red)">This needs to be rendered</h4>
<HighlightedCode code={JSON.stringify(token, null, 2)} /> <HighlightedCode code={JSON.stringify(token, null, 2)} />

Loading…
Cancel
Save