fix: preserve newlines in chat message markdown rendering (#714)
This commit is contained in:
@@ -28,6 +28,7 @@ const message = useMessage()
|
|||||||
|
|
||||||
const md: MarkdownIt = new MarkdownItConstructor({
|
const md: MarkdownIt = new MarkdownItConstructor({
|
||||||
html: false,
|
html: false,
|
||||||
|
breaks: true,
|
||||||
linkify: true,
|
linkify: true,
|
||||||
typographer: true,
|
typographer: true,
|
||||||
highlight(str: string, lang: string): string {
|
highlight(str: string, lang: string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user