Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 9f9fec3

Browse files
committed
[ux]: render comment as markdown as well;
1 parent 7f27150 commit 9f9fec3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/component/reddit/RedditPostRenderer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ const RedditListing: React.FC<RedditListingProps> = ({ data }) => {
156156
}
157157
key={d.id}
158158
>
159-
<Paragraph>{d.body}</Paragraph>
159+
<Paragraph>
160+
<MarkdownToHTMLRenderer markdown={d.body} />
161+
</Paragraph>
160162
{d.replies &&
161163
typeof d.replies !== 'string' &&
162164
d.replies.data &&

0 commit comments

Comments
 (0)