[enhancement]: custom css

This commit is contained in:
Kendall Garner 2024-08-27 08:26:34 -07:00
parent 004c9a8d06
commit 6125901023
No known key found for this signature in database
GPG key ID: 18D2767419676C87
10 changed files with 332 additions and 325 deletions

View file

@ -16,10 +16,11 @@ export const replaceURLWithHTMLLinks = (text: string) => {
}
const link = match[0];
const prefix = link.startsWith('http') ? '' : 'https://';
elements.push(
<a
key={lastIndex}
href={link}
href={prefix + link}
rel="noopener noreferrer"
target="_blank"
>