Skip to content

Commit 4001fc8

Browse files
committed
Make hyperlinks blue
Unsure on this, feedback appreciated.
1 parent 06992d9 commit 4001fc8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/markdown.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ export function Markdown({ content }: { content: string }) {
6767

6868
// Handles links in markdown [text](url).
6969
case "link":
70-
return <a href={node.url}>{renderChildren(node)}</a>;
70+
return (
71+
<a className="text-blue-300" href={node.url}>
72+
{renderChildren(node)}
73+
</a>
74+
);
7175

7276
// Handles lists.
7377
case "list": {

0 commit comments

Comments
 (0)