WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SyntaxHighlighter TinyMCE Button

"SyntaxHighlighter TinyMCE Button" provides buttons for Visual Editor and will help to type <pre> tag for SyntaxHighlighter.

Installation

  1. Upload plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. If you need, go to "Settings" -> "SH TinyMCE Button" to configure.

If you use "WP SyntaxHighlighter", "Syntax Highlighter Compress" or "SyntaxHighlighter Evolved", you should configure "Using with" option on the setting panel.

Usage

Usage: To paste your code into the post or page.

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

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

Usage: To wrap previously-written code in <pre> tag.

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

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

Usage: To change language and options of previously-markuped code.

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

Usage: To indent by tabs.

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

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-24
Downloads: 17,907

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,3,3
100,1,1 100,1,1 100,1,1
100,3,3
100,1,1
100,2,2
0,2,0
100,1,1