DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:highlightjs

highlightjs Plugin

Compatible with DokuWiki

2009-02-14b

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.

Download

Search and install the plugin using the Extension Manager. 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.txt · Last modified: 2018-06-04 22:17 by Klap-in

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