=== WP-Markdown-SyntaxHighlighter === Contributors: mattshelton Donate link: http://www.mattshelton.net Tags: markdown, SyntaxHighlighter, syntax, code, pre, highlight Requires at least: 3.1 Tested up to: 3.4.1 Stable tag: 0.1 License: CC-BY-NC-SA 3.0 License URI: http://creativecommons.org/licenses/by-nc-sa/3.0/ WP-Markdown-SyntaxHighlighter works in conjunction with Markdown-formatted code blocks and SyntaxHighlighter to properly format code. == Description == WP-Markdown-SyntaxHighlighter is intended to work with the [wp-markdown](http://wordpress.org/extend/plugins/wp-markdown/) and [SyntaxHighlighter Evolved](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/) plugins as follows: * WP-Markdown can automatically use [Prettify.js](http://code.google.com/p/google-code-prettify/) to format code, but if you prefer [Alex Gorbatchev's SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/), this plugin will re-format the Markdown-formatted code blocks to be properly styled by SyntaxHighlighter directly or SyntaxHighlighter Evolved via plugin. * SyntaxHighlighter Evolved uses SyntaxHighlighter and additional extended functionality to display code blocks in an easily readable manner. To use, add a `#!` line 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 `#!` is removed, and the code is reformatted as:
class One < Two
      def hello
        puts "Hello World!"
      end
    end
== Installation == 1. Upload the `wp-markdown-syntaxhighlighter` folder (and its contents) to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Modify improperly formatted code blocks with `#!` formatting. == Changelog == = 0.1 = * Initial release == TODO == * Come up with a simple syntax to allow specification of all of the class/attribute options currently supported on the pre tag for SyntaxHighlighter * Support for auto-links attribute (default: true) * Support for class-name attribute (default: '') * Support for collapse attribute (default: false) * Support for the first-line attribute (default: 1) * Support for the gutter attribute (default: true) * Support for the highlight attribute (default: null, format is a number or array of numbers) * Support for the html-script attribute (default: false) * Support for the ruler attribute (default: false) * Support for the smart-tabs attribute (default: true) * Support for the title attribute (default: null) * Support for the tab-size attribute (default: 4) * Support for the toolbar attribute (default: true)