Plugin info

Total downloads: 1,867
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/3/2013 (4744 days ago)
Added to WordPress: 8/13/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 4744 days ago

20/100

Is WP-Markdown-Syntax-Sugar abandoned?

Possibly abandoned (last update 4744 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.

Goodbye Syntax Highlighter
Rating 5.0/5 (1 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

WP Markdown Syntax Sugar work in conjunction with plugins such as wp-markdown
and wp-highlight.js. Markdown is fantastic markup for easily
writing blogs, and highlight.js is an extremely easy way to highlight
code examples. In most cases, highlight.js automatically detects the proper language for a block of code. In certain
cases, primarily if your code example is short, highlight.js could improperly detect the language that you are using;
that is where this plugin comes into play. By adding one line to your code blocks, you can explicitly set the language
that you are using, allowing highlight.js to properly format your code.

The concept is inspired by the wp-markdown-syntax-highlight
plugin.

The usage is extremely simple. Just add a shebang as the first line of your code example with the language you are using.

#!ruby
class Foo < Bar
  def hello
    puts "Hello World!"
  end
end

The shebang is removed, and the code is outputted as:

class Foo < Bar
  def hello
    puts "Hello World!"
  end
end

Now the code block is properly formatted for highlight.js to do its magic, and the code snippet will be properly
highlighted.

Installation

Installation is standard and straight forward.

  1. Upload the wp-markdown-syntax-sugar folder (and all it’s contents) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Modify improperly formatted code blocks with a shebang.

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