Title: sofho's Replies | WordPress.org

---

# sofho

  [  ](https://wordpress.org/support/users/sofho/)

 *   [Profile](https://wordpress.org/support/users/sofho/)
 *   [Topics Started](https://wordpress.org/support/users/sofho/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sofho/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sofho/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sofho/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sofho/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sofho/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Engine - The Chatbot, AI Framework & MCP for WordPress] Keep syntax-coloring on code-examples (with no theme)](https://wordpress.org/support/topic/keep-syntax-coloring-on-code-examples-with-no-theme/)
 *  Thread Starter [sofho](https://wordpress.org/support/users/sofho/)
 * (@sofho)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/keep-syntax-coloring-on-code-examples-with-no-theme/#post-16961745)
 * Thank you for the quick reply.
 * Syntax-hightlightning is already on – and it works when using the default themes“
   ChatGPT” and “Messages (iOS)”. It also partially works for my custom theme, as
   a few words are getting highligted (in my case the “document”-word of a javascript
   example).
 * But the default plugins seem to have extra classes added through javasript, most
   likely via the highlight-script, that I’m not getting on a custom theme.
 * In the console i get a set of errors (see my comment above), which seems to confirm
   that there is an issue classes.
 * It looks like the “no theme” option is missing a class for the highlight-syntax
   to run correcly, but I’m having a hard time determining what this class is and
   how I should add it through my custom theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Engine - The Chatbot, AI Framework & MCP for WordPress] Keep syntax-coloring on code-examples (with no theme)](https://wordpress.org/support/topic/keep-syntax-coloring-on-code-examples-with-no-theme/)
 *  Thread Starter [sofho](https://wordpress.org/support/users/sofho/)
 * (@sofho)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/keep-syntax-coloring-on-code-examples-with-no-theme/#post-16959279)
 * Ah. It looks like highlight.js has issues on my custom theme. I’m getting some“
   Could not find class for hljs-title”-errors (along with similar errors for “keyword”
   and “string”) in the console.
 * Still investigating.

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