BACK TO DIRECTORY

SmartAss Highlighter

by th3pirat3

0.0
(0 ratings)
  • SmartAss Highlighter is a simple and easy to use code prettifier for wordpress.
  • The code between <pre> and </pre> tags is highlighted.
  • Almost all languages are supported, no need to mention the code language.
  • Customizable for each post, use [highlighter] shortcode to enable for particular post.
  • To change theme, modify highlighter.css in the plugin directory.
  • Button is available for both editor modes, i.e., Visual and Text editor.
  • Line Numbers are ON by default but can be turned OFF by using modified shortcode [highlighter line=0]
  • IMPORTANT – This plugin would not be updated very frequently, updates (if required) may delay

Basic Usage

  1. Switch to Text Only Mode, Go to “Edit my profile” and then check “Disable the visual editor when writing”
  2. Create new post
  3. Put your code in between <pre> and </pre>
  4. MUST use shortcode [highlighter] to activate the SmartAss-Highlighter
  5. Line numbers are on by default, but can be switched off by using [highlighter line=0]
  6. Note: Only the Posts having shortcode [highlighter] will be highlighted. Your previous posts won’t be affected.
  7. Do NOT use html codes for special characters ( &lt; or &gt; ), Directly use < or >

More Information

For more information of this plugin, please visit: Plugin Homepage.

Screenshots

Visual editor screenshot

Visual editor screenshot

Text only editor screenshot

Text only editor screenshot

Sample highlighted output with line numbers

Sample highlighted output with line numbers

Sample highlighted output without line numbers

Sample highlighted output without line numbers

Code button

Code button

Plugin Details

Active Installs
10
Total Downloads
2,558
Version
1.0
Requires WP
2.7
Requires PHP
Tested Up To
4.2.39
Added
2015-01-15
Last Updated
2015-05-09 11:48am GMT

Ratings

5
0
4
0
3
0
2
0
1
0