DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:highlightjs

This is an old revision of the document!


highlightjs Plugin

Compatible with DokuWiki

DokuWiki 2009-02-14b (possibly earlier).

plugin Providing syntax highlighting for DokuWiki with highlight.js

Last updated on
2009-11-20
Provides
Action, Render
Conflicts with
xbr

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

Tagged with code, javascript, syntax, syntaxhighlight

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.

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
plugin/highlightjs.1453824785.txt.gz · Last modified: 2016-01-26 17:13 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki