This is an old revision of the document!
Table of Contents
highlightjs plugin
Compatible with DokuWiki
DokuWiki 2009-02-14b (possibly earlier).
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to code, code2, code3, codeprettify, jquery-syntax, syntaxhighlighter
Information
This plugin provides syntax highlighting for DokuWiki with Highlight.js version 5.71 (http://softwaremaniacs.org/soft/highlight/en/)
Download
Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.
- Project's page : http://code.google.com/p/dokuwiki-highlightjs-plugin/
- Download : Dokuwiki Highlightjs Plugin Latest version
Installation
Using Plugin Manager
- Copy / Paste download into plugin manager
- Go to Configuration Manager and go to Advanced Settings
- Change 'renderer_xhtml' to HighlightJs
- Select the skin to use to style highlighting
Manual Installation
- Download Archive from Web or using SVN
- Unarchive it in lib/plugins directory
- Go to Configuration Manager and go to Advanced Settings
- Change 'renderer_xhtml' to HighlightJs
Usage
- Use code tag :
<code>YOUR CODE HERE</code>
- OR use the new toolbar icon code
Release Notes
Release 1.0.1
- Added Toolbar icon
- Added configuration file in order to choose highlight style
Release 1.0.0
- First release
To Do
- Change DokuWiki configuration to change default XHTML renderer to highlightjs