Merge pull request #575 from waychan23/feat/md_viewer_open_links_in_new_tab

[feat] Markdown viewer open links in a new tab.
This commit is contained in:
Rohan Verma 2025-12-13 00:38:43 -08:00 committed by GitHub
commit bb229522dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ export function MarkdownViewer({ content, className }: MarkdownViewerProps) {
</p> </p>
), ),
a: ({ node, children, ...props }: any) => ( a: ({ node, children, ...props }: any) => (
<a className="text-primary hover:underline" {...props}> <a className="text-primary hover:underline" target="_blank" rel="noopener noreferrer" {...props}>
{children} {children}
</a> </a>
), ),