chathub
chathub copied to clipboard
Do not use Markdown when showing user-submitted messages
trafficstars
Do not use Markdown when showing user-submitted messages to avoid stripping of leading spaces (line indents). This is confusing, you see your own submissions differently from how they appeared in the prompt input box.
Line indents are often crucial in prompts, especially when either pasting pieces of code or just hierarchically expressing one's thoughts. The original implementation correctly retains indents in back-end communication with the models but the markdown renderer strips them out.