chathub icon indicating copy to clipboard operation
chathub copied to clipboard

Do not use Markdown when showing user-submitted messages

Open DmitriyAlergant opened this issue 1 year ago • 0 comments
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.

DmitriyAlergant avatar Feb 21 '24 01:02 DmitriyAlergant