openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.2k stars 639 forks source link

Markdown is not interpreted in the answer #106

Closed emsi closed 1 year ago

emsi commented 1 year ago

When GPT returns a response that uses markdown formatting it's not being rendered as such. Having a marked or showdown interpreting the answer would greatly improve readability. For example a code or code snippets would be highlighted or bullet point would get returned as such rather than just a lengthy and barely readable list of items separated by hyphens (BTW: new line characters are removed too).

If for whatever reason you deem such behavior undesirable by default, having a configurable option to enable it would save the day too.

gharbat commented 1 year ago

Hey @emsi

Thanks for reporting this, will take a look into it.

PS: this week release v0.4-beta, we will introduce the new chat widget, it will have many new features and major enhancements too, so stay tuned :)

gharbat commented 1 year ago

Fixed in https://github.com/openchatai/OpenChat/releases/tag/0.31