If you have ever tried to display code within a post you will know all about the problems this can cause. That is why there are some amazing developers who create plugins to make that solve this niggly issue.

I tried to list down the best code highlighter wordpress plugins for you. You can download one plugin out of 10 syntax highlighter plugins given below. I am using Syntax Highlighter Evolved in my tutorials.

1. Syntax Highlighter Evolved

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without having to escape the code or anything. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev to do the highlighting and supports all of the package’s parameters via shortcode attributes.

Syntax Highlighter Evolved

2. Developer Formatter

Create a better display of codes on your page/blog. For everybody that publish examples, source-code and some tips about a specific language. This plugin do use of GeSHi highlight system, so you will have support for more then 110 languages, including PHP, ASP, Html, JavaScript, CSS, Java, Python, Delphi, C++, C, Visual Basic and much more.

Developer Formatter

3. File Inliner Plugin

This plugin displays the content of a file in a post. The content of the file (called a “snippet”) is put in a block by default.

File Inliner Plugin

4. FV Code Highlighter

This plugin supports the highlighting of PHP, HTML, CSS and XML. The default tag-highlighter color scheme uses the same colors Adobe’s Dreamweaver is using. This makes it easy for your visitors to recognize what type of codes you wrote. These colors can be changed to your liking in the WPadmin section of your blog.

FV Code Highlighter

5. WP-SynHighlight

WP-SynHighlight is a WordPress plugin that allows easy syntax highlighting of source code you post in your blog. It works much like any other BBCode tag. It highlights everything you put between codesyntax BB code tags.

WP-SynHighlight

6. Code Snippet

A large number of languages are supported with this plugin and it can be easily extended for more. it is recommended that you always wrap your code in a pre however, most times you generally do not need to.

Code Snippet

7. Google Syntax Highlighter for WordPress

This plugin easily integrates the Google Syntax Highlighter by Alex Gorbatchev into WordPress.

Google Syntax Highlighter for WordPress

8. Highlight Source Pro WP Plugin

Powerful, flexible, XHTML-compliant, server-side code highlighting.Set your code-blocks as preGeSHi (see filelist in the /GeSHi-directory) use the filename (without extension) as language-attribute. If your code is encoded add the ‘enc__’ – prefix.

Highlight Source Pro WP Plugin

9. CodeColorer

CodeColorer is the plugin which allows you to insert code snippets into the post with nice syntax highlighting.

CodeColorer

10. Sniplets

Sniplets is a generic text insertion plugin with support for an extensible processing framework. At it’s simplest this means you can dynamically replace text in your posts with text that may be defined elsewhere, or created by some other module.

Sniplets

2 thoughts

Comments are closed.