Revision 726:386fcfd7459f public
| public/help/wiki_syntax_detailed.html | ||
|---|---|---|
| 68 | 68 |
|
| 69 | 69 |
<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> |
| 70 | 70 |
|
| 71 |
<p>Links to other resources:</p> |
|
| 71 |
<p>Links to other resources:</p>
|
|
| 72 | 72 |
|
| 73 | 73 |
<ul> |
| 74 | 74 |
<li>Documents: |
| ... | ... | |
| 76 | 76 |
<li><strong>document#17</strong> (link to document with id 17)</li> |
| 77 | 77 |
<li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li> |
| 78 | 78 |
<li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li> |
| 79 |
<li><strong>sandbox:document:"Some document"</strong> (link to a document with title "Some document" in other project "sandbox")</li> |
|
| 79 |
<li><strong>sandbox:document:"Some document"</strong> (link to a document with title "Some document" in other project "sandbox")</li>
|
|
| 80 | 80 |
</ul></li> |
| 81 | 81 |
</ul> |
| 82 | 82 |
|
| ... | ... | |
| 99 | 99 |
</ul> |
| 100 | 100 |
|
| 101 | 101 |
<ul> |
| 102 |
<li>Repository files: |
|
| 102 |
<li>Repository files:
|
|
| 103 | 103 |
<ul> |
| 104 |
<li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li> |
|
| 105 |
<li><strong>source:some/file@52</strong> (link to the file's revision 52)</li> |
|
| 106 |
<li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li> |
|
| 107 |
<li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li> |
|
| 108 |
<li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li> |
|
| 104 |
<li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
|
|
| 105 |
<li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
|
|
| 106 |
<li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
|
|
| 107 |
<li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
|
|
| 108 |
<li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
|
|
| 109 | 109 |
<li><strong>export:some/file</strong> (force the download of the file)</li> |
| 110 | 110 |
<li><strong>sandbox:source:some/file</strong> (link to the file located at /some/file in the repository of the project "sandbox")</li> |
| 111 |
<li><strong>sandbox:export:some/file</strong> (force the download of the file)</li> |
|
| 112 |
</ul></li> |
|
| 111 |
<li><strong>sandbox:export:some/file</strong> (force the download of the file)</li>
|
|
| 112 |
</ul></li>
|
|
| 113 | 113 |
</ul> |
| 114 | 114 |
|
| 115 | 115 |
<ul> |
| 116 |
<li>Forum messages: |
|
| 117 |
<ul> |
|
| 118 |
<li><strong>message#1218</strong> (link to message with id 1218)</li> |
|
| 119 |
</ul></li> |
|
| 120 |
</ul> |
|
| 121 |
|
|
| 122 |
<ul> |
|
| 123 |
<li>Projects: |
|
| 124 |
<ul> |
|
| 125 |
<li><strong>project#3</strong> (link to project with id 3)</li> |
|
| 126 |
<li><strong>project:someproject</strong> (link to project named "someproject")</li> |
|
| 127 |
</ul></li> |
|
| 128 |
</ul> |
|
| 129 |
|
|
| 130 |
|
|
| 131 |
<p>Escaping:</p> |
|
| 132 |
|
|
| 133 |
<ul> |
|
| 116 |
<li>Forum messages:
|
|
| 117 |
<ul>
|
|
| 118 |
<li><strong>message#1218</strong> (link to message with id 1218)</li>
|
|
| 119 |
</ul></li>
|
|
| 120 |
</ul>
|
|
| 121 |
|
|
| 122 |
<ul>
|
|
| 123 |
<li>Projects:
|
|
| 124 |
<ul>
|
|
| 125 |
<li><strong>project#3</strong> (link to project with id 3)</li>
|
|
| 126 |
<li><strong>project:someproject</strong> (link to project named "someproject")</li>
|
|
| 127 |
</ul></li>
|
|
| 128 |
</ul>
|
|
| 129 |
|
|
| 130 |
|
|
| 131 |
<p>Escaping:</p>
|
|
| 132 |
|
|
| 133 |
<ul>
|
|
| 134 | 134 |
<li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li> |
| 135 | 135 |
</ul> |
| 136 | 136 |
|
| ... | ... | |
| 198 | 198 |
<p>Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.</p> |
| 199 | 199 |
|
| 200 | 200 |
|
| 201 |
|
|
| 202 |
|
|
| 203 |
<h3><a name="9" class="wiki-page"></a>Bullets and Numbering</h3> |
|
| 204 |
|
|
| 205 |
<pre> |
|
| 206 |
* First Level Bullet |
|
| 207 |
** Second Level Bullet |
|
| 208 |
** Another Second Level Bullet |
|
| 209 |
*** Third Level Bullet |
|
| 210 |
** Back to 2nd Level Bullet |
|
| 211 |
* Back to 1st Level Bullet |
|
| 212 |
</pre> |
|
| 213 |
|
|
| 214 |
<ul> |
|
| 215 |
<li>First Level Bullet</li> |
|
| 216 |
<ul> |
|
| 217 |
<li>Second Level Bullet</li> |
|
| 218 |
<li>Another Second Level Bullet</li> |
|
| 219 |
<ul> |
|
| 220 |
<li>Third Level Bullet</li> |
|
| 221 |
</ul> |
|
| 222 |
<li>Back to 2nd Level Bullet</li> |
|
| 223 |
</ul> |
|
| 224 |
|
|
| 225 |
<li>Back to 1st Level Bullet</li> |
|
| 226 |
</ul> |
|
| 227 |
|
|
| 228 |
<pre> |
|
| 229 |
# First Level Numbering |
|
| 230 |
## Second Level Numbering |
|
| 231 |
## Another Second Level Numbering |
|
| 232 |
### Third Level Numbering |
|
| 233 |
## Back to 2nd Level Numbering |
|
| 234 |
# Back to 1st Level Numbering |
|
| 235 |
</pre> |
|
| 236 |
|
|
| 237 |
<ol> |
|
| 238 |
<li>First Level Numbering</li> |
|
| 239 |
<ol> |
|
| 240 |
<li>Second Level Numbering</li> |
|
| 241 |
<li>Another Second Level Numbering</li> |
|
| 242 |
<ol> |
|
| 243 |
<li>Third Level Numbering</li> |
|
| 244 |
</ol> |
|
| 245 |
<li>Back to 2nd Level Numbering</li> |
|
| 246 |
</ol> |
|
| 247 |
<li>Back to 1st Level Numbering</li> |
|
| 248 |
</ol> |
|
| 249 |
|
|
| 250 |
<pre> |
|
| 251 |
# First Level Numbering |
|
| 252 |
#* Bullet inside numbering environment |
|
| 253 |
#* Another Bullet inside numbering environment |
|
| 254 |
# Back to 1st Level Numbering |
|
| 255 |
</pre> |
|
| 256 |
|
|
| 257 |
<ol> |
|
| 258 |
<li>First Level Numbering</li> |
|
| 259 |
<ul> |
|
| 260 |
<li>Bullet inside numbering environment</li> |
|
| 261 |
<li>Another Bullet inside numbering environment</li> |
|
| 262 |
</ul> |
|
| 263 |
|
|
| 264 |
<li>Back to 1st Level Numbering</li> |
|
| 265 |
</ol> |
|
| 266 |
|
|
| 267 |
|
|
| 268 |
|
|
| 269 |
|
|
| 270 |
|
|
| 271 |
|
|
| 272 |
|
|
| 201 | 273 |
<h3><a name="9" class="wiki-page"></a>Paragraphs</h3> |
| 202 | 274 |
|
| 203 | 275 |
<pre> |
| ... | ... | |
| 242 | 314 |
|
| 243 | 315 |
<h2><a name="13" class="wiki-page"></a>Code highlighting</h2> |
| 244 | 316 |
|
| 245 |
<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> |
|
| 317 |
<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>
|
|
| 246 | 318 |
|
| 247 | 319 |
<p>You can highlight code in your wiki page using this syntax:</p> |
| 248 | 320 |
|
Also available in: Unified diff