Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

Don't wrapLines / wrapLongLines in markdown code blocks (#1040)

hazeda669b34a582
diff --git a/packages/ui/src/components/markdown.tsx b/packages/ui/src/components/markdown.tsx
index e2b61df4..93f0aefe 100644
--- a/packages/ui/src/components/markdown.tsx
+++ b/packages/ui/src/components/markdown.tsx
@@ -72,8 +72,6 @@ export function Markdown({ children, className }: { children: string; className?
className={clsx(className, 'rounded-xl dark:rounded-md')}
language={match[1]}
style={syntaxHighlighterTheme} // theme
- wrapLines
- wrapLongLines
customStyle={{ fontSize: 'inherit' }}
codeTagProps={{
style: {