Project

General

Profile

Actions

Patch #1651

closed

Hack to make redmine use pygmentize instead of CodeRay

Added by Youssef Abou-Kewik over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2008-07-15
Due date:
% Done:

0%

Estimated time:

Description

We're going to be using Redmine internally with lots of Python code involved. Thought I'd share this patch with you guys.
I never wrote in ruby before, and I used some of the code mentioned here: http://matt.tarbit.org/2008/02/05/extending-bluecloth-with-pygments

You need to test that pygmentize works on your system first, and if it does, this should work just fine. Unfortunately, syntax highlighting is not a plugin.


Files

patch (4.67 KB) patch use pygmentize instead of coderay patch Youssef Abou-Kewik, 2008-07-15 20:54
scm_patch_pygmentize.diff (4.18 KB) scm_patch_pygmentize.diff patch #2 Youssef Abou-Kewik, 2008-07-25 22:17
scm_patch_pygmentize2.diff (4.28 KB) scm_patch_pygmentize2.diff Anatolii Kucheruck, 2008-09-19 16:52
scm_patch_pygmentize3.diff (5.58 KB) scm_patch_pygmentize3.diff cleaner version (against stable 0.8.2, r2614) Holger Just, 2009-03-23 00:45
redmine_pygmentize_wiki.diff (16.7 KB) redmine_pygmentize_wiki.diff Pygmentize syntax coloring in redmine wiki Sebastien Metrot, 2009-04-08 16:37
syntax_highlight.diff (133 KB) syntax_highlight.diff SyntaxHighlighter (http://alexgorbatchev.com/wiki/SyntaxHighlighter) Patch Youssef Abou-Kewik, 2009-05-14 11:24

Related issues

Related to Redmine - Feature #2985: Make syntax highlighting pluggableClosed2009-03-16

Actions
Related to Redmine - Feature #3032: Use google Prettify for syntax highlighting instead of CodeRayClosed2009-03-23

Actions
Related to Redmine - Feature #24681: Syntax highlighter: replace CodeRay with RougeClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF