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?