Best Syntax Highlighter Plugin for WordPress

Do you want to insert code snippets into your WordPress posts? Your best bet is to use a syntax highlighter plugin. Here’s the best one I’ve found:

Prism for WP – Prism.js is an awesome syntax highlighter that adds a handy button in your editor which you can use to insert code snippets in many languages.

These two are also worth checking out:

Prismatic – Very well documented but sadly does not seem to be updated with the latest version of Prism.

Enlighter – Good plugin but only includes Enlighter.js and I prefer Prism.js

What syntax highlighter do you prefer?

About Jean Galea

Jean Galea is a WordPress developer, podcaster and entrepreneur. He is the founder of WP Mayor and WP RSS Aggregator. His personal blog can be found at Check out his podcast focused on doing business with WordPress over at

  1. Somnath Jadhav
    Somnath Jadhav March 12, 2018 at 11:28 | | Reply

    You forget to mention Crayon Syntax Highlighter. Its very good plugin and has many useful features.

    Thanks for writing.

  2. Johnny Lemonik
    Johnny Lemonik March 12, 2018 at 20:47 | | Reply

    Nice article, but please, do some fact checking before publishing: Prism Syntax Highlighter

Leave a Reply

Please enter an e-mail address