SyntaxHighlighter Evolved

Description:

As seen on WordPress.com.

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 WordPress.com support document.

Example Code Output:

Note that there are various different color schemes available.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>PHP Code Example</title>
</head>
<body>
	<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
		tabs.
	</div>

	<p><a href="http://wordpress.org/">WordPress</a></p>
</body>
</html>

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.

Download:

GitHub:

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

https://github.com/Viper007Bond/syntaxhighlighter

1,841 thoughts on “SyntaxHighlighter Evolved

  1. Pingback: Testp post – Easy Newbie

  2. Did you know you are too much lucky because “Real Leather Jackets”(R-leatherjackets) is now offering magnificent Yankees leather jackets for its users at discounted prices and it is also providing “Free Shipping” services for its users So take advantage of this offer right away and order your desired product
    Yankees leather jacket

  3. I appreciate you offering such important information, which is sometimes difficult to discover. You performed an excellent job. Both your website and your article are really easy to utilise. Both your website and article are top-notch. I’m a fashion blogger who writes on a variety of subjects. You may view samples of my work on this website. Your webpage is excellent. This website has excellent usability. I appreciate you taking the time to put your opinions in writing. Visit my webpage and explore around. I sincerely appreciate you writing such a great essay . Visit Your essay is excellent. The navigation on this website is really simple. I appreciate you taking the time to express yourself.

  4. Thanks for sharing an informative blog. We work with businesses of all sizes, from start-ups to large corporations, and our goal is to help our clients succeed in an ever-evolving digital landscape. Our services include
    web design and development, digital marketing, branding and graphic design, and software development, CRM Solutions, virtual staffing, Call Center and Telemarketing, e-commerce development, technical support services, conversion rate optimization, team augmentation services.

  5. I like this website so much it’s really awesome. No more ugly concrete! Decorative concrete creates an upscale look for residential, commercial, and industrial customers with decorative and polished flooring. At Ressichem, we create an upscale image at an affordable price with highly durable materials.

  6. This is exactly what Syntax Highlighter I needed. I m using WordPress Classic editor. And did not liked to use the Block Editor. This Syntax Highlighter which is there I have been using since when I have been using wordpress. again thanks buddy for making such a plugin……

  7. body to body massage at home will include work on your entire body, though our therapist will focus on specific areas that need to be released, you can wear lightweight clothing for the massage, or you can be fully or partially undressed, so don’t late come fast to our center for glow to your body skin

  8. SMM Panel One is your one-stop solution for skyrocketing your social media presence and success. With our cutting-edge Social Media Marketing (SMM) panel, you can harness the power of various platforms to elevate your brand, engage your audience, and drive unprecedented growth. From increasing followers, likes, and comments to generating buzz around your content, our platform offers a seamless and efficient way to conquer the digital landscape. Boost your social media game with SMM Panel One and witness the magic of organic reach and genuine interactions like never before!

Leave a Reply