##// END OF EJS Templates
Added links to repository files in wiki syntax help....
Jean-Philippe Lang -
r1272:5f78b8a9a0f3
parent child
Show More
@@ -53,6 +53,7 table td h3 { font-size: 1.2em; text-align: left; }
53 <tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
53 <tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
54 <tr><th></th><td>Revision r43</td><td>Revision <a href="#">r43</a></td></tr>
54 <tr><th></th><td>Revision r43</td><td>Revision <a href="#">r43</a></td></tr>
55 <tr><th></th><td>commit:"f30e13e43"</td><td><a href="#">f30e13e4</a></td></tr>
55 <tr><th></th><td>commit:"f30e13e43"</td><td><a href="#">f30e13e4</a></td></tr>
56 <tr><th></th><td>source:some/file</td><td><a href="#">source:some/file</a></td></tr>
56
57
57 <tr><th colspan="3">Inline images</th></tr>
58 <tr><th colspan="3">Inline images</th></tr>
58 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td>!<em>image_url</em>!</td><td></td></tr>
59 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td>!<em>image_url</em>!</td><td></td></tr>
@@ -3,11 +3,99
3 <head>
3 <head>
4 <title>RedmineWikiFormatting</title>
4 <title>RedmineWikiFormatting</title>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <style>
6 <style type="text/css">
7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
8 h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
8 h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
9 pre, code { font-size:120%; }
10 pre code { font-size:100%; }
11 pre {
12 margin: 1em 1em 1em 1.6em;
13 padding: 2px;
14 background-color: #fafafa;
15 border: 1px solid #dadada;
16 width:95%;
17 overflow-x: auto;
18 }
19 a.new { color: #b73535; }
20
21 .CodeRay .af { color:#00C }
22 .CodeRay .an { color:#007 }
23 .CodeRay .av { color:#700 }
24 .CodeRay .aw { color:#C00 }
25 .CodeRay .bi { color:#509; font-weight:bold }
26 .CodeRay .c { color:#666; }
27
28 .CodeRay .ch { color:#04D }
29 .CodeRay .ch .k { color:#04D }
30 .CodeRay .ch .dl { color:#039 }
31
32 .CodeRay .cl { color:#B06; font-weight:bold }
33 .CodeRay .co { color:#036; font-weight:bold }
34 .CodeRay .cr { color:#0A0 }
35 .CodeRay .cv { color:#369 }
36 .CodeRay .df { color:#099; font-weight:bold }
37 .CodeRay .di { color:#088; font-weight:bold }
38 .CodeRay .dl { color:black }
39 .CodeRay .do { color:#970 }
40 .CodeRay .ds { color:#D42; font-weight:bold }
41 .CodeRay .e { color:#666; font-weight:bold }
42 .CodeRay .en { color:#800; font-weight:bold }
43 .CodeRay .er { color:#F00; background-color:#FAA }
44 .CodeRay .ex { color:#F00; font-weight:bold }
45 .CodeRay .fl { color:#60E; font-weight:bold }
46 .CodeRay .fu { color:#06B; font-weight:bold }
47 .CodeRay .gv { color:#d70; font-weight:bold }
48 .CodeRay .hx { color:#058; font-weight:bold }
49 .CodeRay .i { color:#00D; font-weight:bold }
50 .CodeRay .ic { color:#B44; font-weight:bold }
51
52 .CodeRay .il { background: #eee }
53 .CodeRay .il .il { background: #ddd }
54 .CodeRay .il .il .il { background: #ccc }
55 .CodeRay .il .idl { font-weight: bold; color: #888 }
56
57 .CodeRay .in { color:#B2B; font-weight:bold }
58 .CodeRay .iv { color:#33B }
59 .CodeRay .la { color:#970; font-weight:bold }
60 .CodeRay .lv { color:#963 }
61 .CodeRay .oc { color:#40E; font-weight:bold }
62 .CodeRay .of { color:#000; font-weight:bold }
63 .CodeRay .op { }
64 .CodeRay .pc { color:#038; font-weight:bold }
65 .CodeRay .pd { color:#369; font-weight:bold }
66 .CodeRay .pp { color:#579 }
67 .CodeRay .pt { color:#339; font-weight:bold }
68 .CodeRay .r { color:#080; font-weight:bold }
69
70 .CodeRay .rx { background-color:#fff0ff }
71 .CodeRay .rx .k { color:#808 }
72 .CodeRay .rx .dl { color:#404 }
73 .CodeRay .rx .mod { color:#C2C }
74 .CodeRay .rx .fu { color:#404; font-weight: bold }
75
76 .CodeRay .s { background-color:#fff0f0 }
77 .CodeRay .s .s { background-color:#ffe0e0 }
78 .CodeRay .s .s .s { background-color:#ffd0d0 }
79 .CodeRay .s .k { color:#D20 }
80 .CodeRay .s .dl { color:#710 }
81
82 .CodeRay .sh { background-color:#f0fff0 }
83 .CodeRay .sh .k { color:#2B2 }
84 .CodeRay .sh .dl { color:#161 }
85
86 .CodeRay .sy { color:#A60 }
87 .CodeRay .sy .k { color:#A60 }
88 .CodeRay .sy .dl { color:#630 }
89
90 .CodeRay .ta { color:#070 }
91 .CodeRay .tf { color:#070; font-weight:bold }
92 .CodeRay .ts { color:#D70; font-weight:bold }
93 .CodeRay .ty { color:#339; font-weight:bold }
94 .CodeRay .v { color:#036 }
95 .CodeRay .xt { color:#444 }
9 </style>
96 </style>
10 </head>
97 </head>
98
11 <body>
99 <body>
12 <h1><a name="1" class="wiki-page"></a>Wiki formatting</h1>
100 <h1><a name="1" class="wiki-page"></a>Wiki formatting</h1>
13
101
@@ -50,7 +138,7 h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
50 <p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="Nonexistent_page.html" class="wiki-page new">Nonexistent page</a>.</p>
138 <p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="Nonexistent_page.html" class="wiki-page new">Nonexistent page</a>.</p>
51
139
52
140
53 <p>Links to others resources (0.6.devel.1064 and above):</p>
141 <p>Links to others resources (0.7):</p>
54
142
55
143
56 <ul>
144 <ul>
@@ -85,7 +173,23 h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
85 </ul>
173 </ul>
86
174
87
175
88 <p>Escaping (0.6.devel.1064 and above):</p>
176 <ul>
177 <li>Repository files
178
179 <ul>
180 <li><strong>source:some/file</strong> -- Link to the file located at /some/file in the project's repository</li>
181 <li><strong>source:some/file@52</strong> -- Link to the file's revision 52</li>
182
183 <li><strong>source:some/file#L120</strong> -- Link to line 120 of the file</li>
184 <li><strong>source:some/file@52#L120</strong> -- Link to line 120 of the file's revision 52</li>
185 <li><strong>export:some/file</strong> -- Force the download of the file</li>
186 </ul></li>
187
188 </ul>
189
190
191
192 <p>Escaping (0.7):</p>
89
193
90
194
91 <ul>
195 <ul>
@@ -125,12 +229,13 http://www.redmine.org, someone@foo.bar
125 <h3><a name="6" class="wiki-page"></a>Font style</h3>
229 <h3><a name="6" class="wiki-page"></a>Font style</h3>
126
230
127
231
128 <pre><code>* *bold*
232 <pre>
233 * *bold*
129 * _italic_
234 * _italic_
130 * _*bold italic*_
235 * _*bold italic*_
131 * +underline+
236 * +underline+
132 * -strike-through-
237 * -strike-through-
133 &lt;/code></pre>
238 </pre>
134
239
135 <p>Display:</p>
240 <p>Display:</p>
136
241
@@ -157,17 +262,19 http://www.redmine.org, someone@foo.bar
157 <h3><a name="8" class="wiki-page"></a>Headings</h3>
262 <h3><a name="8" class="wiki-page"></a>Headings</h3>
158
263
159
264
160 <pre><code>h1. Heading
265 <pre>
266 h1. Heading
161 h2. Subheading
267 h2. Subheading
162 h3. Subheading
268 h3. Subheading
163 &lt;/code></pre>
269 </pre>
164
270
165 <h3><a name="9" class="wiki-page"></a>Paragraphs</h3>
271 <h3><a name="9" class="wiki-page"></a>Paragraphs</h3>
166
272
167
273
168 <pre><code>p&gt;. right aligned
274 <pre>
275 p&gt;. right aligned
169 p=. centered
276 p=. centered
170 &lt;/code></pre>
277 </pre>
171
278
172 <p style="text-align:center;">This is centered paragraph.</p>
279 <p style="text-align:center;">This is centered paragraph.</p>
173
280
@@ -178,9 +285,10 p=. centered
178 <p>Start the paragraph with <strong>bq.</strong></p>
285 <p>Start the paragraph with <strong>bq.</strong></p>
179
286
180
287
181 <pre><code>bq. Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
288 <pre>
289 bq. Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
182 To go live, all you need to add is a database and a web server.
290 To go live, all you need to add is a database and a web server.
183 &lt;/code></pre>
291 </pre>
184
292
185 <p>Display:</p>
293 <p>Display:</p>
186
294
@@ -193,9 +301,10 To go live, all you need to add is a database and a web server.
193 <h3><a name="11" class="wiki-page"></a>Table of content</h3>
301 <h3><a name="11" class="wiki-page"></a>Table of content</h3>
194
302
195
303
196 <pre><code>{{toc}} =&gt; left aligned toc
304 <pre>
305 {{toc}} =&gt; left aligned toc
197 {{&gt;toc}} =&gt; right aligned toc
306 {{&gt;toc}} =&gt; right aligned toc
198 &lt;/code></pre>
307 </pre>
199
308
200 <h2><a name="12" class="wiki-page"></a>Macros</h2>
309 <h2><a name="12" class="wiki-page"></a>Macros</h2>
201
310
@@ -218,10 +327,11 To go live, all you need to add is a database and a web server.
218 <p>You can highlight code in your wiki page using this syntax:</p>
327 <p>You can highlight code in your wiki page using this syntax:</p>
219
328
220
329
221 <pre><code>&lt;pre&gt;&lt;code class="ruby"&gt;
330 <pre>
331 &lt;pre&gt;&lt;code class="ruby"&gt;
222 Place you code here.
332 Place you code here.
223 &lt;/code&gt;&lt;/pre&gt;
333 &lt;/code&gt;&lt;/pre&gt;
224 </pre>&lt;/code>
334 </pre>
225
335
226 <p>Example:</p>
336 <p>Example:</p>
227
337
@@ -236,6 +346,7 To go live, all you need to add is a database and a web server.
236 <span class="no"> 8</span> puts <span class="s"><span class="dl">"</span><span class="k">Hello </span><span class="il"><span class="idl">#{</span><span class="iv">@name</span><span class="idl">}</span></span><span class="k">!</span><span class="dl">"</span></span>
346 <span class="no"> 8</span> puts <span class="s"><span class="dl">"</span><span class="k">Hello </span><span class="il"><span class="idl">#{</span><span class="iv">@name</span><span class="idl">}</span></span><span class="k">!</span><span class="dl">"</span></span>
237 <span class="no"> 9</span> <span class="r">end</span>
347 <span class="no"> 9</span> <span class="r">end</span>
238 <span class="no"><strong>10</strong></span> <span class="r">end</span>
348 <span class="no"><strong>10</strong></span> <span class="r">end</span>
239 </pre>&lt;/code>
349 </code>
350 </pre>
240 </body>
351 </body>
241 </html>
352 </html>
General Comments 0
You need to be logged in to leave comments. Login now