Hi,
I built a local server using flask, when I send an API request relates to a python code the completion comes with a code tag,
I didn’t find a way to make the code response to be in a code or pre tag, and the explanation outside of it.
I tried to use bs4 and request but it seems to work only with static sites
How can I make it work so the code will be in a code\pre block and the explanation will be outside of it?
I hope I manage to explain myself.
Thank you!