Skip to content

Commit bb2ade7

Browse files
author
harish-sethuraman
authored
Add linefeed in the mdx and handle it (#4039)
* Add linefeed in the mdx and handle it * Add preserve whitespace
1 parent a9a04fe commit bb2ade7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beta/src/components/MDX/TerminalBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
4343
<IconTerminal className="inline-flex mr-2 self-center" /> Terminal
4444
</div>
4545
</div>
46-
<div className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code">
46+
<div className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre">
4747
<LevelText type={level} />
4848
{message}
4949
</div>

0 commit comments

Comments
 (0)