Have you ever tried adding code directly in your WordPress Text Editor? Well it’s quite annoying that it does not format your code correctly and it looks nonsense in browser display, don’t worry folks your problem solve now.
Code or Syntax Highlighter is a tool use to emphasized codes in HTML display, this will help improve the readability of the code or content you write and it help to user/developer easily understand by directly seeing the well-formed code you add.
Here I have list the best Syntax highlighter that I can recommend to help you beatify your code presentation, all these plugins are quite easy to use and handy. Checks them out and pick the one that you see suit your need.
This one that I currently used here in my site.
Syntax Highlighter built in PHP and jQuery that supports customizable languages and themes. It can highlight from a URL, a local file or WordPress post text. Crayon makes it easy to manage Language files and define custom language elements with regular expressions.
CodeColorer is the plugin which allows you to insert code snippets into the post with nice syntax highlighting.
This plugin has prettify.js copied (unmodified) directly from google-code source browser. So your code will look exactly like it does on google-code.
WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid. Wrap code blocks with
and. It provides a code button(HTML editor) to help you insert code in articles easily.
SyntaxHighlighter Plus is a WordPress plugin for code syntax highlighting.
SyntaxHighlighter allows you to easily post syntax highlighted code all without loosing it’s formatting or making an manual changes.
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes.
Easy code highlighting for WordPress with Chili
Hope you enjoy the list.