Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: markdown

Chris Bautista550c5a97108e
diff --git a/src/components/ui/markdown.tsx b/src/components/ui/markdown.tsx
index bf3aeff3..b37576db 100644
--- a/src/components/ui/markdown.tsx
+++ b/src/components/ui/markdown.tsx
@@ -37,7 +37,7 @@ function removeHtmlComments(): Transformer {
export function Markdown({ children }: { children: string }) {
return (
<ReactMarkdown
- remarkPlugins={[remarkGfm, removeHtmlComments]}
+ remarkPlugins={[removeHtmlComments, remarkGfm]}
components={{
h1: ({ className, ...props }) => (
<h1 className={clsx(className, 'mb-2 pb-2 text-3xl font-bold')} {...props} />