Title: Formatting code in comments
Last modified: May 3, 2022

---

# Formatting code in comments

 *  Resolved [nachbelichtet](https://wordpress.org/support/users/nachbelichtet/)
 * (@nachbelichtet)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/formatting-code-in-comments/)
 * Hi,
 * I’m using this great plugin since two years in my posts.
 * Since more and more comments are posted with code examples (especially YAML) 
   I would like to know if and how you can also format code in comments with it.
 * Best,
    Markus

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/formatting-code-in-comments/#post-15612725)
 * Yes, there is an extension plugin you can activate to allow for this: [https://github.com/westonruter/syntax-highlighting-code-block/wiki#syntax-highlighting-in-comments](https://github.com/westonruter/syntax-highlighting-code-block/wiki#syntax-highlighting-in-comments)
 *  Thread Starter [nachbelichtet](https://wordpress.org/support/users/nachbelichtet/)
 * (@nachbelichtet)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/formatting-code-in-comments/#post-15612881)
 * I missed that somehow … Thank you very much – works great!
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/formatting-code-in-comments/#post-15613019)
 * I just added the section to the wiki 🙂

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

The topic ‘Formatting code in comments’ is closed to new replies.

 * ![](https://ps.w.org/syntax-highlighting-code-block/assets/icon.svg?rev=3406002)
 * [Syntax-highlighting Code Block (with Server-side Rendering)](https://wordpress.org/plugins/syntax-highlighting-code-block/)
 * [Support Threads](https://wordpress.org/support/plugin/syntax-highlighting-code-block/)
 * [Active Topics](https://wordpress.org/support/plugin/syntax-highlighting-code-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntax-highlighting-code-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntax-highlighting-code-block/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/formatting-code-in-comments/#post-15613019)
 * Status: resolved