mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-05-26 14:00:14 +00:00
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({
|
||||
html: false,
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
highlight(str: string, lang: string): string {
|
||||
|
||||
Reference in New Issue
Block a user