WordPress plugin intelligence profile

Goodbye Syntax Highlighter

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 plu …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.5
Current version0.1.2
WordPress coverageTested up to WordPress 3.5
Minimum stackWP 3.1 · PHP —
Directory statusactive
Last directory update11 Feb 201313y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Goodbye Syntax Highlighter version 0.1.2 as active, updated 13y ago and tested up to WordPress 3.5.

Overview

About this plugin

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. js.

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 <pre class="brush: ruby;" />, for example). I could have converted things in a few ways:

  • Change the database
  • Write a JS script to convert the <pre /> structure to <pre><code /></pre>
  • 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. 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 <code /> 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! 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. 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 <code /> element.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • highlight js
  • code
  • highlight.js
  • pre
  • syntax
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.5
Minimum requirementsWordPress 3.1 · PHP not listed
Update activity11 Feb 201313y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.