Title: code not displaying
Last modified: July 25, 2023

---

# code not displaying

 *  Resolved [w3nta1](https://wordpress.org/support/users/w3nta1/)
 * (@w3nta1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/code-not-displaying/)
 * the code generate by the chatbot cant be display. It only can display plain text.
   Below is the screenshot.
 * ![](https://i0.wp.com/i.ibb.co/Ht1hv12/1.png?ssl=1)
 * 
   How can i display out the coding like the chatgpt?
 * ![](https://i0.wp.com/i.ibb.co/4Vdz01H/2.png?ssl=1)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Val Meow](https://wordpress.org/support/users/valwa/)
 * (@valwa)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/code-not-displaying/#post-16921846)
 * Hey [@w3nta1](https://wordpress.org/support/users/w3nta1/) !👋
 * That’s a strange behavior. The reason the code is not visible is because it’s
   inside a **script **element. It should be inside a **pre **element. 🤔
 * Do you use any embeddings or specific parameters that could change this? If you
   use embeddings with code examples inside script elements, that could be the issue.
 * Also, does this happen every time you ask for code, or is it occasional?  You
   could try asking in your context prompt to use markdown format and the pre element
   for code examples to see if things change.
 *  Thread Starter [w3nta1](https://wordpress.org/support/users/w3nta1/)
 * (@w3nta1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/code-not-displaying/#post-16926258)
 * Hi, nope, not using any embeddings. It happens everytime ask for code, all the
   codes will display within the html.
   Any idea how to resolve this issue? [@_](https://wordpress.org/support/users/_/)
   @
 *  Thread Starter [w3nta1](https://wordpress.org/support/users/w3nta1/)
 * (@w3nta1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/code-not-displaying/#post-16934398)
 * The problem is bcoz of this issue 
   Debug ModeDebugging information will be displayed
   in the console.After deselect issue solved !Took me so long to figure out !!!!!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘code not displaying’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [w3nta1](https://wordpress.org/support/users/w3nta1/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/code-not-displaying/#post-16934398)
 * Status: resolved