mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 00:15:38 +08:00
feat: supports the display of line breaks in Markdown
This commit is contained in:
@@ -34,6 +34,7 @@ export function Markdown(props: { content: string }) {
|
||||
components={{
|
||||
pre: PreCode,
|
||||
}}
|
||||
className="line-break"
|
||||
>
|
||||
{props.content}
|
||||
</ReactMarkdown>
|
||||
|
Reference in New Issue
Block a user