@@ -66,7 +66,7 | |||
|
66 | 66 | |
|
67 | 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 other |
|
|
69 | <p>Links to other resources:</p> | |
|
70 | 70 | |
|
71 | 71 | <ul> |
|
72 | 72 | <li>Documents: |
@@ -74,6 +74,7 | |||
|
74 | 74 | <li><strong>document#17</strong> (link to document with id 17)</li> |
|
75 | 75 | <li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li> |
|
76 | 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 | 78 | </ul></li> |
|
78 | 79 | </ul> |
|
79 | 80 | |
@@ -95,19 +96,36 | |||
|
95 | 96 | </ul> |
|
96 | 97 | |
|
97 | 98 | <ul> |
|
98 | <li>Repository files | |
|
99 | <li>Repository files: | |
|
99 | 100 | <ul> |
|
100 |
<li><strong>source:some/file</strong> |
|
|
101 |
<li><strong>source:some/file@52</strong> |
|
|
102 |
<li><strong>source:some/file#L120</strong> |
|
|
103 |
<li><strong>source:some/file@52#L120</strong> |
|
|
104 |
<li><strong> |
|
|
105 | </ul></li> | |
|
101 | <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li> | |
|
102 | <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li> | |
|
103 | <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li> | |
|
104 | <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li> | |
|
105 | <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li> | |
|
106 | <li><strong>export:some/file</strong> (force the download of the file)</li> | |
|
107 | </ul></li> | |
|
106 | 108 | </ul> |
|
107 | ||
|
108 | <p>Escaping (0.7):</p> | |
|
109 | 109 | |
|
110 | 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 | 129 | <li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li> |
|
112 | 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 | 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 | 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