comparison public/help/.svn/text-base/wiki_syntax_detailed.html.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children 0579821a129a
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
64 <li><strong>[[sandbox:]]</strong> displays a link to the Sandbox wiki main page</li> 64 <li><strong>[[sandbox:]]</strong> displays a link to the Sandbox wiki main page</li>
65 </ul> 65 </ul>
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:
73 <ul> 73 <ul>
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
80 <ul> 81 <ul>
81 <li>Versions: 82 <li>Versions:
93 <li>For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only)</li> 94 <li>For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only)</li>
94 </ul></li> 95 </ul></li>
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>
106 </ul> 107 </ul></li>
107 108 </ul>
108 <p>Escaping (0.7):</p> 109
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>
109 127
110 <ul> 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
217 <pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>Displays a list of all available macros, including description if available.</p></dd></dl></p> 235 <pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>Displays a list of all available macros, including description if available.</p></dd></dl></p>
218 236
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
226 <pre> 244 <pre>
227 &lt;pre&gt;&lt;code class="ruby"&gt; 245 &lt;pre&gt;&lt;code class="ruby"&gt;