Skip to content

Javascript based syntax highlighter for Redmine. Uses Alex Gorbatchev's SyntaxHighlighter.

Notifications You must be signed in to change notification settings

ncrash/redmine_js_syntax_highlighter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redmine_js_syntax_highlighter

A Redmine plugin that replaces the default syntax highlighting engine (CodeRay) with a JavaScript based syntax highlighter.

For standalone resource loading update source from www.redmine.org/issues/3382#note-37

Installation:

Next, use Rails’ handy-dandy plugin installer to grab this plugin:

script/plugin install git://github.com/ncrash/redmine_js_syntax_highlighter.git

Alternatively, you can just copy content of redmine_js_syntax_highlighter directory into vendor/plugins.

Next, standalone resource installation:

cp <REDMINE_PATH>/vendor/plugins/redmine_js_syntax_highlighter/assets/scripts/* <REDMINE_PATH>/public/javascripts/
cp <REDMINE_PATH>/vendor/plugins/redmine_js_syntax_highlighter/assets/styles/* <REDMINE_PATH>/public/stylesheets/

Additionally, Fix up owner Permission issue

chown -R redmineui.redmine javascripts/ stylesheets/

About

Javascript based syntax highlighter for Redmine. Uses Alex Gorbatchev's SyntaxHighlighter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • Ruby 7.4%