Project

General

Profile

Plugins Directory » Redmine HighlightJS syntax

Author: dominik ch
Website: https://github.com/dominch/redmine_highlightjs
Code repository: https://github.com/dominch/redmine_highlightjs
Registered on: 2015-09-09 (over 8 years ago)
Current version: 1.0.3
Compatible with: Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x
User ratings:   (2)

A redmine plugin to highlight code blocks much better than coderay! :)
135 languages with autodetection feature, 65 color themes, multi language code highlight (like http+json)
Try Your language and choose best theme for You: https://highlightjs.org/static/demo/

Old good coderay:

Example highlihtsjs (monokai_sublime theme) - json, http+json:

It's very easy to use because it works automatically :) finds blocks of code, detects a language (one or more!), highlights it.

Supported languages and markups in build: 1c accesslog actionscript apache applescript armasm asciidoc aspectj autohotkey autoit avrasm axapta bash brainfuck cal capnproto ceylon clojure clojure-repl cmake coffeescript cpp crystal cs css d markdown dart delphi diff django dns dockerfile dos dust elixir elm ruby erb erlang-repl erlang fix fortran fsharp gams gcode gherkin glsl go golo gradle groovy haml handlebars haskell haxe http inform7 ini irpf90 java javascript json julia kotlin lasso less lisp livecodeserver livescript lua makefile mathematica matlab mel mercury mizar perl mojolicious monkey nginx nimrod nix nsis objectivec ocaml openscad oxygene parser3 pf php powershell processing profile prolog protobuf puppet python q r rib roboconf rsl ruleslanguage rust scala scheme scilab scss smali smalltalk sml sql stata step21 stylus swift tcl tex thrift tp twig typescript vala vbnet vbscript vbscript-html verilog vhdl vim x86asm xml xl xquery zephir

More info on github page: https://github.com/dominch/redmine_highlightjs
Author: Dominik Chmaj - http://www.dominik.net.pl

Installation notes

  1. Follow the Redmine plugin installation steps at: http://www.redmine.org/wiki/redmine/Plugins
  2. Make sure the plugin installation directory name is redmine_highlighjs
  3. Restart the server (this will ensure that the CSS file and other assets are copied to the right place)
  4. (optional) Configure color theme in Administration -> Plugins -> HighlightJS

Changelog

1.0.3 (2015-09-25)

Compatible with Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x.

  • bugfixes for redmine 3.x
  • support for redmine 2.1+
  • chinese translation

1.0.2 (2015-09-16)

Compatible with Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x.

  • restrictions for clients with older browsers (like IE8)
  • ability to redefine theme by users in their profile
  • experimental: highlight file view mode
  • cleanup and bugfixes

1.0.1 (2015-09-09)

Compatible with Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x.

  • confirmed to work with Redmine 3.1.x
  • small performance and view improvements

1.0.0 (2015-09-09)

Compatible with Redmine 2.6.x, 2.5.x, 2.4.x.

User ratings

  by Alexey Prohasko over 6 years ago

Plugin is very good. But I find a issue with it on redmine ver. 3.4.x
how to fix it you can find here: https://www.redmine.org/issues/27685

  by Alejandro Ramirez over 8 years ago

Simple to use, simple to install. Looks Beautiful. Excellent. Thank you!