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:
- Download from WordPress.org (0 downloads)
GitHub:
This plugin is available on GitHub. Issues, patches, and pull requests are welcome.
Wow. This plugin is really helpful. But please how can I add it to the classic editor?
Thanks a lot for nice plugin, really helpful
Yes true
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.
Thank you very much. Your plugin will be very useful for my posts that talk about programming.
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.
The Universe supports me with the fine art of seductive mind, and creative body physics and I want to give all of these to you, what I want you to check in my companionship.
https://www.preeti-patel.com/
Thank you for nice plugin i also use this plugin
thanku sir share this website
thanku sir
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……
Its so useful
https://thenepal.io
I also use for this site
Thank you so much
Thanks! I am using this on my site!