=== WP SyntaxHighlighter === Contributors: redcocker Donate link: http://www.near-mint.com/blog/donate/ Tags: syntaxhighlighter, code, snippet, syntax, highlight, highlighting Requires at least: 3.0 Tested up to: 3.1.3 Stable tag: 1.3 This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382. == Description == This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382. = Feature = * Based on "[SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/ "JavaScript library")" JavaScript library. * Including ver. 3.0.83 and 2.1.382 libraries. * You can operate in Visual Editor, No need to use HTML Editor. * Easy wrap your code in `
` tag by two ways and change language and options of previously-markuped code.
* Once your code is wrapped in `
` tag, You can type 'tabs' for indent.
* Easy to configure through setting panel.
* Support "[Dynamic Brush Loading](http://alexgorbatchev.com/SyntaxHighlighter/manual/api/autoloader.html "A key feature")" which allows to load only necessary brush files dynamically.
* Loading JavaScripts on only Posts and Pages which have code to highlight.
* Translated into English(Default) and Japanese(UTF-8).

= Supported languages =

AppleScript, ActionScript3, Bash, ColdFusion, C, C++, C#, CSS, Delphi, Diff, Erlang, Groovy, HTML, Java, Java FX, JavaScript, Pascal, Patch, Perl, PHP, Plain text, PowerShell, Python, Ruby, Ruby on Rails, Sass, SCSS, Shell, SQL, VB, VB NET, XHTML, XML and XSLT

= Recommended plugin =

In Ver. 1.1 or higher, "SH TinyMCE Button" was built into "WP SyntaxHighlighter".

However, If you want, you can use the feature-rich "[SyntaxHighlighter TinyMCE Button](http://wordpress.org/extend/plugins/syntaxhighlighter-tinymce-button/ "Recommended plugin")".

== Installation ==

= Installation =

1. Upload plugin folder to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. If you need, go to Settings -> WP SyntaxHighlighter to configure.

= Usage =

Usage: To wrap your code in `
` tag with "SH TinyMCE Button".

If you have previously-written code on your post or page, by this way, you can wrap your code in `
` tag for 'SyntaxHighlighter'.

1. With the mouse, select and highlight your code where you want to aplly "SyntaxHighlighter".
1. Click "pre" button.
1. Select language and options.
1. Click "Insert" button.

Usage: To paste your code into the post or page with "SH TinyMCE Button".

If you want to copy the code from the other document and paste into your post or page, this way is best. Your pasted code will be warpped in `
` tag automatically.

1. Click "CODE" button.
1. Select language and options and paste your code into textbox.
1. Click "Insert" button.

Usage: To change language and options of previously-markuped code with "SH TinyMCE Button".

1. With the mouse, select and highlight your code.
1. Click "pre" button.
1. Change language and options.
1. Click "Update" button.

Usage: To indent by tabs.

1. Just type tab in your code. But till your code is wrapped in `
` tag, you can not type any tabs.

Usage: Using HTML Editor without "SH TinyMCE Button".

Just wrap Your Code in `
` tag as below in HTML Editor or using the "Preformatted" style in Visual Editor.

However, your codes **must be escape to HTML entities in HTML Editor**.

`
Your Code
` *"lang" = your language * e.g. `
Your PHP Code
` * e.g. `
Your XHTML Code
` See "[Available languages](http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/ "Brushes")". *"Brush aliases" means "lang". You can also use some options with `
` tag.

See "[Options](http://alexgorbatchev.com/SyntaxHighlighter/manual/configuration/ "Class value")".

* e.g. `
Your Code
` * e.g. `
Your Code
` This plugin also can support `