Agave Storm


Code Hightlight for Vanilla Forum

Adds code hightlighting to Vanilla forums

Download ZIP ⇓

 

Contents

 

Usage

Two types of usage supported
1. Native html <code> tag. Text between <code> and </code> will be formatted and highlighted using selected skin.
However, some WYSIWYG editors do not support <code> tag in visual mode. For that reason we create second option
2. Shortcode – similar to wordpress shortcodes or bbCode. Text between [code] and [/code] will be highlighted.

 

Screenshots

Message in edit mode
chl1

Published message (default skin)

chl2

 

Insallation

  1. Download zip archive
  2. Unzip into “plugins” folder
  3. Go to <Your Vanilla Forum>/dashboard/settings/plugins
  4. Find “Code Hightlingt” in the list
  5. Click “Enable”

 

Customization

  1. In Vanilla dashboard -> Left panel -> Addons section click “Code Hightlight”
  2. Choose style from dropdown menu and click “Save”
  3. Style is changed now. You can see in an example of currently selected style right below the dropdown.