🐛 Fix code formatting

We use a markdown formatter for code formatting. In cases where the provided text from GPT is
" {CODE}" instead of "python{CODE}" no formatting is used. We should still have a default display that shows it is code and not just a regular string.
I can work on this either tonight or tomorrow morning
Awesome! Assigned you :)
Hey I also wanted to contribute to this feature.
@asim-shrestha or @reworkd-admin Does anyone have a text example from chatgpt where the formatting is displayed correctly? In my testing the formatting has never worked & code is always displayed as a string.

@matthope1 I got this.
prompt: write a simple python script.
@rp-bot woulsnyou be able to share your code for this?
@rp-bot Did you initiate PR? Would love to see what you did there.
I haven't made a PR yet
Has been fixed! Codeformatting now displays like so: