Added code highlighting support in wiki, using this syntax:

<pre><code> <-- cut here

  <pre><code class="ruby">
    Place you code here.
  </code></pre>  

cut here --> </pre></code>

git-svn-id: http://redmine.rubyforge.org/svn/trunk@710 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-09-06 17:06:07 +00:00
parent 22c5e0d614
commit 42db3cac06
5 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ table.list thead th.list-filename {
/************* Coderay styles *************/
.CodeRay {
table.CodeRay {
background-color: #fafafa;
}
.CodeRay pre { margin: 0px }