##// END OF EJS Templates
Updated wiki-syntax help page to reflect new link options and last coderay upgrade. #5948...
Jean-Baptiste Barth -
r4194:31b9868fc15c
parent child
Show More
@@ -66,7 +66,7
66
66
67 <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>
67 <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>
68
68
69 <p>Links to others resources (0.7):</p>
69 <p>Links to other resources:</p>
70
70
71 <ul>
71 <ul>
72 <li>Documents:
72 <li>Documents:
@@ -74,6 +74,7
74 <li><strong>document#17</strong> (link to document with id 17)</li>
74 <li><strong>document#17</strong> (link to document with id 17)</li>
75 <li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
75 <li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
76 <li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
76 <li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
77 <li><strong>document:some_project:"Some document"</strong> (link to a document with title "Some document" in other project "some_project")
77 </ul></li>
78 </ul></li>
78 </ul>
79 </ul>
79
80
@@ -95,19 +96,36
95 </ul>
96 </ul>
96
97
97 <ul>
98 <ul>
98 <li>Repository files
99 <li>Repository files:
99 <ul>
100 <ul>
100 <li><strong>source:some/file</strong> -- Link to the file located at /some/file in the project's repository</li>
101 <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
101 <li><strong>source:some/file@52</strong> -- Link to the file's revision 52</li>
102 <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
102 <li><strong>source:some/file#L120</strong> -- Link to line 120 of the file</li>
103 <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
103 <li><strong>source:some/file@52#L120</strong> -- Link to line 120 of the file's revision 52</li>
104 <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
104 <li><strong>export:some/file</strong> -- Force the download of the file</li>
105 <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
105 </ul></li>
106 <li><strong>export:some/file</strong> (force the download of the file)</li>
107 </ul></li>
106 </ul>
108 </ul>
107
108 <p>Escaping (0.7):</p>
109
109
110 <ul>
110 <ul>
111 <li>Forum messages:
112 <ul>
113 <li><strong>message#1218</strong> (link to message with id 1218)</li>
114 </ul></li>
115 </ul>
116
117 <ul>
118 <li>Projects:
119 <ul>
120 <li><strong>project#3</strong> (link to project with id 3)</li>
121 <li><strong>project:someproject</strong> (link to project named "someproject")</li>
122 </ul></li>
123 </ul>
124
125
126 <p>Escaping:</p>
127
128 <ul>
111 <li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
129 <li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
112 </ul>
130 </ul>
113
131
@@ -219,7 +237,7 To go live, all you need to add is a database and a web server.
219
237
220 <h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
238 <h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
221
239
222 <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>
240 <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>
223
241
224 <p>You can highlight code in your wiki page using this syntax:</p>
242 <p>You can highlight code in your wiki page using this syntax:</p>
225
243
General Comments 0
You need to be logged in to leave comments. Login now