Plugin info

Total downloads: 3,900
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 2/11/2013 (4704 days ago)
Added to WordPress: 8/14/2012 (13 years old)
Minimum WordPress version: 3.1
Tested up to WordPress version: 3.5.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4704 days ago • 1 reviews

22/100

Is Goodbye Syntax Highlighter abandoned?

Possibly abandoned (last update 4704 days ago).

Compatibility

Requires WordPress: 3.1
Tested up to: 3.5.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP-Markdown-Syntax-Sugar
Rating 0.0/5 (0 reviews)Active installs 10
Snippets Block
Rating 5.0/5 (3 reviews)Active installs 100
CC-Syntax-Highlight
Rating 5.0/5 (1 reviews)Active installs 80
Markdown Shortcode
Rating 5.0/5 (3 reviews)Active installs 50
Vaaky Highlighter
Rating 4.5/5 (2 reviews)Active installs 20
Dark Code
Rating 0.0/5 (0 reviews)Active installs 10

Description

For years I’ve used Alex Gorbatchev’s SyntaxHighlighter. It has served me well over the years. When I moved to WordPress I tried various plugins based on the library, such SyntaxHighlighter Evolved.

I’ve decided to start blogging using Markdown. Making this move I needed to find a way to highlight various bits of source code in an easy way. There are many nice libraries that make this a snap, such as google-code-prettify or highlight.js. In the end I decided to go with highlight.js, for the simple reason that it is automatic, working flawlessly with Markdown’s code syntax output.

Great, but my existing source code examples use SyntaxHighlighter’s style for code blocks (using

, for example). I could have converted things in a few ways:

  • Change the database
  • Write a JS script to convert the
     structure to 
  • Write a JS script to call highlight.js’ highlightBlock method
  • Write a WP plugin and reformat things easily Ding Ding Ding

So there you have it. This WordPress plugin will go through and process your SyntaxHighlighter style blocks into ones that highlight.js works with out-of-the-box. It will also add the language that you have specified with the brush class and add it as a class on the element (following the HTML5 recommendation). Nothing is changed in the DB, so if you decide to go back to SyntaxHighlighter, you can without any issues.

GeSHi

This plugin now supports conversion of GeSHi style code blocks! Now you can move from plugins such as WP-Syntax and WP-GeSHi-Highlight to highlight.js.

GeSHi uses the syntax that is close to SyntaxHighlighter, except instead of putting the language in the class attribute, it uses the lang attribute. Similar to the SyntaxHighligher conversion, it will go through and process your GeSHi style blocks into ones that highlight.js works with out-of-the-box. It will also add the language that you have specified with the lang attribute and add it as a class on the element.

Installation

Installation is standard and straight forward.

  1. Upload the goodbye-syntax-highlighter folder (and all it’s contents) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.1.0

  • Initial release

0.1.1

  • Modified output to use the HTML5 recommended syntax highlighting class names, e.g. language-ruby. For more information, see the HTML5 spec

0.1.2

  • Added conversion of GeSHi style code blocks