SyntaxHighlighter Evolved


As seen on

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.

For a list of supported languages (most widely used languages are supported), see the support document.

Example Code Output:

Note that there are various different color schemes available.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>PHP Code Example</title>
	<h1>PHP Code Example</h1>

	<p><?php echo 'Hello World!'; ?></p>

	<p>This line is highlighted.</p>

	<div class="foobar">
		This	is	an
		example	of	smart

	<p><a href="">WordPress</a></p>

If you prefer, you can hide the line numbering and other UI stuff with the “light” mode, for example:

[php light="true"]your code here[/php]

There are many other parameters and defaults you can control via the Settings page or the shortcode parameters. Full details and instructions are located at the bottom of the Settings page.



This plugin is available on GitHub. Issues, patches, and pull requests are welcome.

1,740 thoughts on “SyntaxHighlighter Evolved

  1. Pingback: The Top 100 WordPress Plugins For Your Site | Bucur Blog

  2. Pingback: ????? – Lenix Blog

  3. Pingback: Writing Code in Your Posts | T? h?c ti?ng Anh và vi tính

  4. Pingback: WordPress??????SyntaxHighlighter?????? | ????

  5. Pingback: SyntaxHighlighter Evolved???? – ????

  6. Pingback: WordPress??????SyntaxHighlighter?????? | IT??

  7. Pingback: WordPress??????SyntaxHighlighter?????? | ???

  8. Pingback: Wordpress SyntaxHighlighter Evolved eklentisi – Türkçe kaynak

  9. Pingback: Writing Code in Your Posts | WordPress World

      • Good call. I’m working with a pretty highly-customized child theme, and when I switch to the parent theme, the problem goes away. That gives me a good starting point to troubleshoot. I’ll share if I figure out what’s causing the issue in the child theme. Thanks!

  10. Pingback: Wordpress Code Display

  11. Pingback: Menuliskan Baris Perintah dalam WordPress –

  12. Hi, how do I get my indenture preserved in my code? I thought I had tabs (in vim) but they’ve >poof< and I can' hard-put spaces in, either. This is driving me insane.

Leave a Reply