Title: C# syntax highlighting
Last modified: November 30, 2022

---

# C# syntax highlighting

 *  Resolved [dukedev](https://wordpress.org/support/users/dukedev/)
 * (@dukedev)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/c-syntax-highlighting/)
 * This C# syntax highlighting is not doing any good. In some cases, its not even
   adding any coloring to the code, and in most cases just two separate colors. 
   Is there something missing from my code or settings that needs to be added in
   order to adjust this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fc-syntax-highlighting%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Peter Kiss (a11n)](https://wordpress.org/support/users/yscik8/)
 * (@yscik8)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/c-syntax-highlighting/#post-16264584)
 * All the supported languages should be included in the plugin and there is no 
   extra step to set them up, it should work. One thing to double-check is setting
   the language to C# (“csharp”) in the block/shortcode.
 * I’m not sure however that this plugin supports all newer C# language features.
   It could be worth trying a more modern plugin, for example this one:
    [https://wordpress.org/plugins/code-syntax-block/](https://wordpress.org/plugins/code-syntax-block/)

Viewing 1 replies (of 1 total)

The topic ‘C# syntax highlighting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntaxhighlighter_ffffff.svg)
 * [SyntaxHighlighter Evolved](https://wordpress.org/plugins/syntaxhighlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syntaxhighlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syntaxhighlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/syntaxhighlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntaxhighlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntaxhighlighter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Peter Kiss (a11n)](https://wordpress.org/support/users/yscik8/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/c-syntax-highlighting/#post-16264584)
 * Status: resolved