Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ const markdownComponents: Record<string, React.FC> = {
// eslint-disable-next-line jsx-a11y/alt-text
<img
{...props}
className="max-w-full h-auto rounded-lg shadow-md"
className={`max-w-full h-auto rounded-lg shadow-md ${
props.className ?? ''
}`}
Copy link

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The template literal with line breaks makes the className construction harder to read and maintain. Consider using a utility function like clsx or cn for cleaner class merging, or format it as a single line.

Copilot uses AI. Check for mistakes.
// loading="lazy"
// decoding="async"
/>
Expand Down
Loading