Wordpress Plugins – Extensions

Just another WordPress.com weblog

SyntaxHighlighter TinyMCE Button

Installation:

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

Usage

Usage: To wrap your 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’.

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

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

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 <pre> tag automatically.

Click “CODE” button.
Select language and options and paste your code into textbox.
Click “Insert” button.

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

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

Usage: To indent by tabs

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

SyntaxHighlighter TinyMCE Button

Advertisements

May 17, 2011 - Posted by | download, extension, extensions, free, get, internet, plugin, plugins, Uncategorized, wordpress

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: