tcmd: styled links

This commit is contained in:
2024-02-29 02:37:50 -07:00
parent 18f8541de7
commit 7f63d38424
4 changed files with 26 additions and 7 deletions

View File

@@ -186,7 +186,8 @@ const renderInlineToken = (l: Line) => {
case "anchor":
return (
<Link
className="dark:text-primary-600 underline dark:no-underline"
className={token.data.style?.classes ||
"dark:text-primary-600 underline dark:no-underline"}
href={token.data.href}
>
{token.content}
@@ -217,7 +218,7 @@ const renderInlineToken = (l: Line) => {
preferredEdge="bottom"
className="cursor-pointer"
>
<span className="border-b border-dotted border-white">
<span className="border-b-2 border-dotted border-white">
{token.content}
</span>
</Poppable>