Contributors: Viper007Bond, automattic
Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/
Tags: code, sourcecode, block, php, xhtml, html, css, WordPress.com
Requires at least: 4.2.3
Tested up to: 5.0
Stable tag: trunk
Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
Now with support for the new block editor in WordPress 5.0!
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.
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?
Plugin README Parser: Could not find screenshot-1 image file
Plugin README Parser: Could not find screenshot-2 image file