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,818 thoughts on “SyntaxHighlighter Evolved

  1. Pingback: 4 Best Code/Syntax Highlighting Plugins for WordPress | learningcms

  2. Pingback: Add code to wordpress blog | Alans Wiki

  3. Pingback: WordPressでコードを美しく表示する | Dr.山本の疫学研究入門

  4. It don’t work here. Trying to get some php highlighting nothing happends. The


    are hidden in the display, so I suppose that something was recognised. But with or without the tags, de display is the same. Tell me where is the error here :

    $my_var = "Hello World !" ;
    echo $my_world :
  5. Also seeing it broken – Code on this developer page is broken just as it is on my site – So at least I know its not me using it wrong. Its been 3 weeks since the first feedback of a problem. It would be nice to see the developer comment and acknowledge that its is being worked on.

  6. Pingback: Wordpress/Linux CLI Notes Engine –


    Ariamontakhab Parsian co., with 10 years experience, as a manufacturer and supplier of ostrich crust skin and finished leather, has a remarkable history in export , and is expanding its business to the worldwide.

    Ariamontakhab Parsian works closely with the clients in an effort to understand the needs of our valuable clients and the target audience in different of its company.

  8. Pingback: Building Up Your Blog • Spittoon

  9. Pingback: ソースコード埋め込みのテスト – RiceBallFactory

  10. Pingback: How to post source code in a WordPress blog | ID Zero

  11. hi,

    may soneone tell me.
    how to add fileanme, language like [code language="php" title="download.php"] in wordpress 5.2?

  12. Pingback: Syntax Highlighter Evolved – WP.DesaKami.ID

  13. Pingback: Code Syntax Highlighting in WordPress |

  14. Pingback: Code Syntax Highlighting in WordPress | Carrot Park

  15. Pingback: 워드프레스 구문 강조 플러그인 Syntaxhighlighter 보안 업데이트 - 워드프레스 기본

  16. Pingback: Evidenţierea codului în WordPress (SyntaxHighlighter) | Tutoriale WP

  17. Hey Alex, whenever I am trying to put the code in the wordpress post. It is not getting highlighted. It is however in preview showing Highlighted and beautified but not when I am publishing it. Could you please help?

  18. Pingback: Code Syntax Highlighting in WordPress – Concept Chaser

  19. Pingback: Code Syntax Highlighting in WordPress | Codexico

  20. Pingback: WordPressでGoのSyntax Highlightを表示させる。|Small Engineering Life

  21. Pingback: Artículo de prueba – Antonio Leal

  22. Pingback: Best 4 Plugins To Add Syntax Code in WordPress Website | Andraware

  23. Pingback: Quelltext in WP | matzes[e]ite

  24. Pingback: Jak łatwo wyświetlić fragment kodu pod WordPressem? - w świecie programisty

  25. The most recent item at Real Jackets can be found here. Leather coats for men, women, celebrities, and gamers are available on this website. Please look around our website to find what you’re looking for.

  26. Pingback: Testp post – Easy Newbie

Comments are closed.