diff --git a/src/components/markdown/markdown.module.css b/src/components/markdown/markdown.module.css index bf5bcd6e..9b61e010 100644 --- a/src/components/markdown/markdown.module.css +++ b/src/components/markdown/markdown.module.css @@ -8,6 +8,16 @@ text-decoration: var(--post-content-link-text-decoration-hover); } +.markdown .inlineQuoteLink a { + color: var(--post-quotelink-text-color); + text-decoration: var(--post-quotelink-text-decoration); +} + +.markdown .inlineQuoteLink a:hover { + color: var(--post-quotelink-text-color-hover); + text-decoration: var(--post-quotelink-text-decoration-hover); +} + .hrWrapper { padding: 0.5em 0; } diff --git a/src/components/markdown/markdown.tsx b/src/components/markdown/markdown.tsx index 4e4cc957..1280a65a 100644 --- a/src/components/markdown/markdown.tsx +++ b/src/components/markdown/markdown.tsx @@ -190,7 +190,11 @@ const renderAnchorLink = (children: React.ReactNode, href: string, threadPostCid const numberQuoteMatch = href.match(NUMBER_QUOTE_HREF_REGEX); if (numberQuoteMatch) { const number = parseInt(numberQuoteMatch[1], 10); - return ; + return ( + + + + ); } // Check if this is a valid 5chan link that should be handled internally