Skip to content

Commit

Permalink
Merge pull request #87 from aws-samples/wrap-lines
Browse files Browse the repository at this point in the history
fix broken layout on long lines in syntax highlight
  • Loading branch information
wadabee authored Nov 13, 2023
2 parents 03d3f58 + 787c7c4 commit c2eec81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Markdown: React.FC<Props> = ({ className, children }) => {
style={vscDarkPlus}
language={match[1]}
PreTag="div"
wrapLongLines={true}
/>
) : (
<code {...props} className={className}>
Expand Down

0 comments on commit c2eec81

Please sign in to comment.