Skip to content
Browse files

Updated wiki-syntax help page to reflect new link options and last co…

…deray upgrade. #5948

Contributed by Holger Just and Mischa The Evil

git-svn-id: http://redmine.rubyforge.org/svn/trunk@4308 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information...
1 parent ef253a1 commit 5b6b3a561b8645ac980522c55d9e7928c0af85e6 jbbarth committed Oct 29, 2010
Showing with 29 additions and 11 deletions.
  1. +29 −11 public/help/wiki_syntax_detailed.html
View
40 public/help/wiki_syntax_detailed.html
@@ -66,14 +66,15 @@
<p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="#" class="wiki-page new">Nonexistent page</a>.</p>
- <p>Links to others resources (0.7):</p>
+ <p>Links to other resources:</p>
<ul>
<li>Documents:
<ul>
<li><strong>document#17</strong> (link to document with id 17)</li>
<li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
<li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
+ <li><strong>document:some_project:"Some document"</strong> (link to a document with title "Some document" in other project "some_project")
</ul></li>
</ul>
@@ -95,19 +96,36 @@
</ul>
<ul>
- <li>Repository files
+ <li>Repository files:
<ul>
- <li><strong>source:some/file</strong> -- Link to the file located at /some/file in the project's repository</li>
- <li><strong>source:some/file@52</strong> -- Link to the file's revision 52</li>
- <li><strong>source:some/file#L120</strong> -- Link to line 120 of the file</li>
- <li><strong>source:some/file@52#L120</strong> -- Link to line 120 of the file's revision 52</li>
- <li><strong>export:some/file</strong> -- Force the download of the file</li>
- </ul></li>
+ <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
+ <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
+ <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
+ <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
+ <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
+ <li><strong>export:some/file</strong> (force the download of the file)</li>
+ </ul></li>
</ul>
-
- <p>Escaping (0.7):</p>
<ul>
+ <li>Forum messages:
+ <ul>
+ <li><strong>message#1218</strong> (link to message with id 1218)</li>
+ </ul></li>
+ </ul>
+
+ <ul>
+ <li>Projects:
+ <ul>
+ <li><strong>project#3</strong> (link to project with id 3)</li>
+ <li><strong>project:someproject</strong> (link to project named "someproject")</li>
+ </ul></li>
+ </ul>
+
+
+ <p>Escaping:</p>
+
+ <ul>
<li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
</ul>
@@ -219,7 +237,7 @@
<h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
- <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, html, javascript, rhtml, ruby, scheme, xml languages.</p>
+ <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, cpp, css, delphi, groovy, html, java, javascript, json, php, python, rhtml, ruby, scheme, sql, xml and yaml languages.</p>
<p>You can highlight code in your wiki page using this syntax:</p>

0 comments on commit 5b6b3a5

Please sign in to comment.
Something went wrong with that request. Please try again.