Skip to content
a simple hack to use Pygments as Redmine's syntax highlighting tool
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app/views/application
assets/stylesheets
config
lib
test
.gitignore
Gemfile
README.markdown
init.rb

README.markdown

Redmine Pygments plugin

a simple hack to replace CodeRay with Pygments as the syntax highlighting tool in Redmine

Installation

install Pygments

sudo easy_install Pygments

install pygments.rb gem

gem install pygments.rb

get the latest redmine_pygments from github

git clone https://github.com/alecchen/redmine_pygments.git <your_redmine_dir>/plugins

then restart your redmine

Compatibility

tested on Redmine 2.0.3

Something went wrong with that request. Please try again.