Title: Selectively avoiding &#8220;monostack-syntax-highlighting&#8221;
Last modified: November 8, 2018

---

# Selectively avoiding “monostack-syntax-highlighting”

 *  Resolved [John M Beres](https://wordpress.org/support/users/johnberes1/)
 * (@johnberes1)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/selectively-avoiding-monostack-syntax-highlighting/)
 * Hello ^_^
 * I am using the WordPress Monostack theme and am enjoying the pronoun/conjunction/
   preposition “syntax” highlighting! Very fun. However, I am wishing to post code
   snippets in blog posts within a CodeColorer code block to provide actual language/
   syntax highlighting. My question…
 * -Is there a way I can disable the monostack-syntax-highlighting within a CodeColorer
   code block?
 *     ```
       <code lang="bash">
       #!/bin/bash
       echo "hello any and all worlds!"
   
   
       ^^Above the theme would highlight "any" and "all" as they are pre-built into the theme as pronouns un functions.php. How can I prevent this just for chunks of code?
       ```
   

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

 *  Theme Author [Mark Uraine](https://wordpress.org/support/users/mapk/)
 * (@mapk)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/selectively-avoiding-monostack-syntax-highlighting/#post-10990457)
 * There is no way right now. I’ll take a look at this though. Thanks for bringing
   it to my attention!
 *  Theme Author [Mark Uraine](https://wordpress.org/support/users/mapk/)
 * (@mapk)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/selectively-avoiding-monostack-syntax-highlighting/#post-11031534)
 * I took a look at this, and it appears the plugin, CodeColorer, has difficulties
   highlighting the text as intended on this theme. All `preformatted` and `code`
   blocks in Gutenberg work just fine without the plugin, but also don’t highlight
   any syntax.
 * It looks like you got it running on your site correctly. If you have time to 
   share your solution, please do so that others might learn from it. Thanks!

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

The topic ‘Selectively avoiding “monostack-syntax-highlighting”’ is closed to new
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/monostack/2.0.4/screenshot.png)
 * Monostack
 * [Support Threads](https://wordpress.org/support/theme/monostack/)
 * [Active Topics](https://wordpress.org/support/theme/monostack/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/monostack/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/monostack/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mark Uraine](https://wordpress.org/support/users/mapk/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/selectively-avoiding-monostack-syntax-highlighting/#post-11031534)
 * Status: resolved