enhancement: wrap long line codeblock (#5069)

This commit is contained in:
Faisal Amir 2025-05-22 15:52:17 +07:00 committed by GitHub
parent 12ad61aaa8
commit d3c6d7cfaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,6 +107,10 @@ function RenderMarkdownComponent({
}
language={language}
showLineNumbers={showLineNumbers}
wrapLines={true}
lineProps={{
style: { wordBreak: 'break-all', whiteSpace: 'pre-wrap' },
}}
customStyle={{
margin: 0,
padding: '8px',