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

Commit 5357c6d

Browse files
Luke Hindspeppescg
andauthored
Update src/components/Markdown.tsx
Co-authored-by: Giuseppe Scuglia <[email protected]>
1 parent dec7540 commit 5357c6d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Markdown.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,12 @@ export function Markdown({ children, fontSize, className = "" }: Props) {
120120
h3({ children }) {
121121
return <h3 className="text-xl font-medium mt-6 mb-3">{children}</h3>;
122122
},
123-
p({ children }) {
124-
return <p className="text-gray-600 leading-relaxed mb-4">{children}</p>;
123+
p({ children }) {
124+
return (
125+
<p className={cn("text-gray-600 leading-relaxed mb-4", className)}>
126+
{children}
127+
</p>
128+
);
125129
},
126130
ul({ children }) {
127131
return <ul className="list-disc list-inside mb-4 space-y-2">{children}</ul>;

0 commit comments

Comments
 (0)