Actions
Feature #407
closedCode Syntax Highlighting in Wiki and Repository
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
1. Adding Syntax Highlighting in Wiki pages should be as simple as adding a javascript library for this (CodeHighlighter,
etc.). And usage would be:
echo "hello world";
2. Syntax Highlighting in the Repository for files/diffs would be great, but trickier (CodeRay/Syntax/etc.
+ file.mime_type)
Updated by Jean-Philippe Lang over 17 years ago
I've just committed (rev 644) syntax highlightment for files
in the repository.
Updated by Jean-Philippe Lang over 17 years ago
Have a look here:
http://demo.redmine.org/repositories/entry/1?path=trunk%2Fapp%2Fc
ontrollers%2Frecipes_controller.rb
Updated by Andris Zāģeris over 17 years ago
See http://rubyforge.org/forum/message.php?msg_id=26844 for
additional CodeRay scanners (languages).
Updated by Jean-Philippe Lang about 17 years ago
Syntax highlighting in wiki pages is now also supported, using
the same library (coderay).
Just use this exact syntax:
Place you code here.
Actions