in your prompt tell it to wrap any code examples in <code></code> blocks and it will do so:)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Chat Stream alternating code /code fields from 3 backticks (HTML Javascript css) | 4 | 2165 | November 20, 2023 | |
Suggestions for perfect escaping of code with GPT? | 11 | 2030 | August 7, 2023 | |
GPT-4o producing bad linebreaks and invalid JSON | 11 | 2253 | June 14, 2024 | |
I want to get json format response which I can pass using gpt-4 model. Also I want to give my prompt to get json data | 14 | 20977 | October 26, 2023 | |
Plugin injection attack, pseudo code prompts, chain of thought, plugin orchestration, and more | 26 | 6961 | April 14, 2024 |