mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
Render the input as markdown, just like the output. #1654
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GrayXu on GitHub (Aug 1, 2024).
Is your feature request related to a problem? Please describe.
code blocks cannot be rendered correctly in the input.
I guess you might think that users won't input in MD format, or that rendering by default as MD would incorrectly render non-MD user input. But plain text actually doesn't tend to cause conflicts. ChatGPTNextWeb/ChatGPT-Next-Web also renders inputs as MD by default.
Describe the solution you'd like
Render the input as markdown, just like the output.
thanks