Syntax Highlighter Evolved

..
syntaxhighlighter Banner

Contributors: Viper007Bond, automattic, donncha
Donate link: https://alex.blog/2019/03/13/in-memory-of-alex-donation-link-update/
Tags: code, sourcecode, block, php, xhtml, html, css, WordPress.com
Requires at least: 4.2.3
Tested up to: 5.2.3
Stable tag: 3.5.1

Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.

Description

Now with support for the new block editor in WordPress 5.0!

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing its formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.

For a live demo, see this plugin's homepage.

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

Development of this plugin is on GitHub. Translation of the plugin into different languages is on the translation page.

As seen on WordPress.com.

Frequently Asked Questions

The code is just being displayed raw. It isn't being converted into a code box or anything. What's wrong?

Make sure your theme's footer.php file has <?php wp_footer(); ?> somewhere inside of it, otherwise the plugin won't be able to do it's thing.

Highlighting doesn't work and my browser hangs, why?

Try excluding this plugin's Javascript from any performance optimizations your site may be doing that involve minifying or concatenating JS.

Screenshots

Plugin README Parser: Could not find screenshot-1 image file

Plugin README Parser: Could not find screenshot-2 image file

..
Source: https://alexgorbatchev.com/SyntaxHighlighter/
Translate page
..
Source: https://alex.blog/wordpress-plugins/syntaxhighlighter/
Translate page
..
On github.com
https://github.com/Viper007Bond/syntaxhighlighter
Developer
https://github.com/Viper007Bond?tab=repositories
..
Source: syntaxhighlighter
Revision: https://plugins.trac.wordpress.org/log/syntaxhighlighter/
An error has occurred, which probably means the feed is down. Try again later.
..

Leave a Reply

Your email address will not be published. Required fields are marked *

Top