##// END OF EJS Templates
trunk: merge r14516 from 3.1-stable (#20452)...
Toshi MARUYAMA -
r14137:1a630c558198
parent child
Show More
@@ -1,7 +1,7
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 <head>
3 <head>
4 <title>RedmineWikiFormatting (Markdown)</title>
4 <title>Formátování Wiki v Redminu</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 type="text/css">
6 <style type="text/css">
7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
@@ -33,95 +33,94
33 </head>
33 </head>
34
34
35 <body>
35 <body>
36 <h1><a name="1" class="wiki-page"></a>Wiki formatting (Markdown)</h1>
36 <h1><a name="1" class="wiki-page"></a>Formátování Wiki (Markdown)</h1>
37
37
38 <h2><a name="2" class="wiki-page"></a>Links</h2>
38 <h2><a name="2" class="wiki-page"></a>Odkazy</h2>
39
39
40 <h3><a name="3" class="wiki-page"></a>Redmine links</h3>
40 <h3><a name="3" class="wiki-page"></a>Odkazy Redmine</h3>
41
41
42 <p>Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.</p>
42 <p>Redmine umožňuje hypertextové odkazy mezi jednotlivými zdroji (úkoly, revize, wiki stránky...) kdekoli, kde je použito Wiki formátování.</p>
43 <ul>
43 <ul>
44 <li>Link to an issue: <strong>#124</strong> (displays <del><a href="#" class="issue" title="bulk edit doesn't change the category or fixed version properties (Closed)">#124</a></del>, link is striked-through if the issue is closed)</li>
44 <li>Odkaz na úkol: <strong>#124</strong> (zobrazí <del><a href="#" class="issue" title="Hromadná změna nezmění kategorii úkolů (Uzavřeno)">#124</a></del>, odkaz je přeškrtnutý, jestliže je úkol uzavřen)</li>
45 <li>Link to an issue note: <strong>#124-6</strong>, or <strong>#124#note-6</strong></li>
45 <li>Odkaz na poznámku k úkolu: <strong>#124-6</strong>, nebo <strong>#124#note-6</strong></li>
46 </ul>
46 </ul>
47
47
48 <p>Wiki links:</p>
48 <p>Odkazy Wiki:</p>
49
49
50 <ul>
50 <ul>
51 <li><strong>[[Guide]]</strong> displays a link to the page named 'Guide': <a href="#" class="wiki-page">Guide</a></li>
51 <li><strong>[[Příručka]]</strong> zobrazí odkaz na stránku nazvanou "Příručka": <a href="#" class="wiki-page">Příručka</a>.</li>
52 <li><strong>[[Guide#further-reading]]</strong> takes you to the anchor "further-reading". Headings get automatically assigned anchors so that you can refer to them: <a href="#" class="wiki-page">Guide</a></li>
52 <li><strong>[[Příručka#čtěte-více]]</strong> Vás přenese ke kotvě "čtěte-více". Nadpisy mají automaticky přiřazené kotvy, na které se můžete odkazovat: <a href="#" class="wiki-page">Příručka</a>.</li>
53 <li><strong>[[Guide|User manual]]</strong> displays a link to the same page but with a different text: <a href="#" class="wiki-page">User manual</a></li>
53 <li><strong>[[Příručka|Uživatelský manuál]]</strong> zobrazí odkaz na tu samou stránku, ale s jiným textem: <a href="#" class="wiki-page">Uživatelský manuál</a>.</li>
54 </ul>
54 </ul>
55
55
56 <p>You can also link to pages of an other project wiki:</p>
56 <p>Můžete se také odkazovat na Wiki stránky jiného projektu:</p>
57
57
58 <ul>
58 <ul>
59 <li><strong>[[sandbox:some page]]</strong> displays a link to the page named 'Some page' of the Sandbox wiki</li>
59
60 <li><strong>[[sandbox:]]</strong> displays a link to the Sandbox wiki main page</li>
60 <p>Můžete se také odkazovat na Wiki stránky jiného projektu:</p>
61
62 <ul>
63 <li><strong>[[projekt_test:Nějaká stránka]]</strong> zobrazí odkaz na stránku s názvem "Nějaká stránka" na Wiki projektu projekt_test.</li>
64 <li><strong>[[projekt_test:]]</strong> zobrazí odkaz na hlavní Wiki stránku projektu projekt_test.</li>
61 </ul>
65 </ul>
62
66
63 <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>Odkazy na Wiki stránky jsou zobrazeny červeně v případě, že odkazovaná stránka dosud neexistuje, např.: <a href="#" class="wiki-page new">Neexistující stránka</a>.</p>
64
68
65 <p>Links to other resources:</p>
69 <p>Odkazy na další zdroje:</p>
66
70
67 <ul>
71 <ul>
68 <li>Documents:
72 <li>Dokumenty:
69 <ul>
73 <ul>
70 <li><strong>document#17</strong> (link to document with id 17)</li>
74 <li><strong>document#17</strong> (odkaz na dokument s ID 17)</li>
71 <li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
75 <li><strong>document:Úvod</strong> (odkaz na dokument s názvem "Úvod")</li>
72 <li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
76 <li><strong>document:"Nějaký dokument"</strong> (Uvozovky se mohou použít v případě, že název obsahuje mezery.)</li>
73 <li><strong>sandbox:document:"Some document"</strong> (link to a document with title "Some document" in other project "sandbox")</li>
77 <li><strong>projekt_test:document:"Nějaký dokument"</strong> (odkaz na dokument s názvem "Nějaký dokument" v jiném projektu "projekt_test")</li>
74 </ul>
78 </ul></li>
75 </li>
76 </ul>
79 </ul>
77
80
78 <ul>
81 <ul>
79 <li>Versions:
82 <li>Verze:
80 <ul>
83 <ul>
81 <li><strong>version#3</strong> (link to version with id 3)</li>
84 <li><strong>version#3</strong> (odkaz na verzi s ID 3)</li>
82 <li><strong>version:1.0.0</strong> (link to version named "1.0.0")</li>
85 <li><strong>version:1.0.0</strong> odkaz na verzi s názvem "1.0.0")</li>
83 <li><strong>version:"1.0 beta 2"</strong></li>
86 <li><strong>version:"1.0 beta 2"</strong></li>
84 <li><strong>sandbox:version:1.0.0</strong> (link to version "1.0.0" in the project "sandbox")</li>
87 <li><strong>projekt_test:version:1.0.0</strong> (odkaz na verzi "1.0.0" jiného projektu "projekt_test")</li>
85 </ul>
88 </ul></li>
86 </li>
87 </ul>
89 </ul>
88
90
89 <ul>
91 <ul>
90 <li>Attachments:
92 <li>Přílohy:
91 <ul>
93 <ul>
92 <li><strong>attachment:file.zip</strong> (link to the attachment of the current object named file.zip)</li>
94 <li><strong>attachment:soubor.zip</strong> (odkaz na přílohu aktuálního objektu s názvem soubor.zip)</li>
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>
95 <li>Aktuálně mohou být odkazovány pouze přílohy aktuálního objektu (u úkolu mohou být odkazy pouze na přílohy danného úkolu).</li>
94 </ul>
96 </ul></li>
95 </li>
96 </ul>
97 </ul>
97
98
98 <ul>
99 <ul>
99 <li>Changesets:
100 <li>Revize:
100 <ul>
101 <ul>
101 <li><strong>r758</strong> (link to a changeset)</li>
102 <li><strong>r758</strong> (odkaz na revizi)</li>
102 <li><strong>commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash)</li>
103 <li><strong>commit:c6f4d0fd</strong> (odkaz na revizi s nečíselným označním revize)</li>
103 <li><strong>svn1|r758</strong> (link to a changeset of a specific repository, for projects with multiple repositories)</li>
104 <li><strong>svn1|r758</strong> (odkaz na revizi určitého repozitáře, pro projekty s více repozitáři)</li>
104 <li><strong>commit:hg|c6f4d0fd</strong> (link to a changeset with a non-numeric hash of a specific repository)</li>
105 <li><strong>commit:hg|c6f4d0fd</strong> (odkaz na revizi s nečíselným označním revize určitého repozitáře, pro projekty s více repozitáři)</li>
105 <li><strong>sandbox:r758</strong> (link to a changeset of another project)</li>
106 <li><strong>projekt_test:r758</strong> (odkaz na revizi jiného projektu)</li>
106 <li><strong>sandbox:commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash of another project)</li>
107 <li><strong>projekt_test:commit:c6f4d0fd</strong> (odkaz na revizi s nečíselným označním revize jiného projektu)</li>
107 </ul>
108 </ul></li>
108 </li>
109 </ul>
109 </ul>
110
110
111 <ul>
111 <ul>
112 <li>Repository files:
112 <li>Soubory repositáře:
113 <ul>
113 <ul>
114 <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
114 <li><strong>source:some/file</strong> (odkaz na soubor umístěný v /some/file respozitáře projektu)</li>
115 <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
115 <li><strong>source:some/file@52</strong> (odkaz na revizi souboru č. 52)</li>
116 <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
116 <li><strong>source:some/file#L120</strong> (odkaz na 120. řádek souboru)</li>
117 <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
117 <li><strong>source:some/file@52#L120</strong> (odkaz na 120. řádek revize souboru č. 52)</li>
118 <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
118 <li><strong>source:"some file@52#L120"</strong> (použijte uvozovky, když URL obsahuje mezery)</li>
119 <li><strong>export:some/file</strong> (force the download of the file)</li>
119 <li><strong>export:some/file</strong> (vynutit stažení souboru)</li>
120 <li><strong>source:svn1|some/file</strong> (link to a file of a specific repository, for projects with multiple repositories)</li>
120 <li><strong>source:svn1|some/file</strong> (odkaz na soubor určitého repozitáře, pro projekty s více repositáři)</li>
121 <li><strong>sandbox:source:some/file</strong> (link to the file located at /some/file in the repository of the project "sandbox")</li>
121 <li><strong>projekt_test:source:some/file</strong> (odkaz na soubor umístěný v /some/file repositáře projektu "projekt_test")</li>
122 <li><strong>sandbox:export:some/file</strong> (force the download of the file)</li>
122 <li><strong>projekt_test:export:some/file</strong> (vynutit stažení souboru umístěného v /some/file repositáře projektu "projekt_test")</li>
123 </ul>
123 </ul></li>
124 </li>
125 </ul>
124 </ul>
126
125
127 <ul>
126 <ul>
@@ -130,129 +129,126
130 <li><strong>forum#1</strong> (link to forum with id 1</li>
129 <li><strong>forum#1</strong> (link to forum with id 1</li>
131 <li><strong>forum:Support</strong> (link to forum named Support)</li>
130 <li><strong>forum:Support</strong> (link to forum named Support)</li>
132 <li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
131 <li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
133 </ul>
132 </ul></li>
134 </li>
135 </ul>
133 </ul>
136
134
137 <ul>
135 <ul>
138 <li>Forum messages:
136 <li>Příspěvky diskuzního fóra:
139 <ul>
137 <ul>
140 <li><strong>message#1218</strong> (link to message with id 1218)</li>
138 <li><strong>message#1218</strong> (odkaz na příspěvek s ID 1218)</li>
141 </ul>
139 </ul></li>
142 </li>
143 </ul>
140 </ul>
144
141
142
145 <ul>
143 <ul>
146 <li>Projects:
144 <li>Projekty:
147 <ul>
145 <ul>
148 <li><strong>project#3</strong> (link to project with id 3)</li>
146 <li><strong>project#3</strong> (odkaz na projekt s ID 3)</li>
149 <li><strong>project:some-project</strong> (link to project with name or slug of "some-project")</li>
147 <li><strong>project:projekt_test</strong> (odkaz na projekt pojmenovaný "projekt_test")</li>
150 <li><strong>project:"Some Project"</strong> (use double quotes for project name containing spaces)</li>
148 <li><strong>project:"projekt test"</strong> (odkaz na projekt pojmenovaný "projekt test")</li>
151 </ul>
149 </ul></li>
152 </li>
153 </ul>
150 </ul>
154
151
155 <ul>
152 <ul>
156 <li>News:
153 <li>Novinky:
157 <ul>
154 <ul>
158 <li><strong>news#2</strong> (link to news item with id 2)</li>
155 <li><strong>news#2</strong> (odkaz na novinku id 2)</li>
159 <li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
156 <li><strong>news:Greetings</strong> (odkaz na novinku "Greetings")</li>
160 <li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
157 <li><strong>news:"First Release"</strong> (použij dvojté uvozovky, jestliže název novinky obsahuje mezery)</li>
161 </ul>
158 </ul></li>
162 </li>
163 </ul>
159 </ul>
164
160
165 <p>Escaping:</p>
161 <p>Escaping:</p>
166
162
167 <ul>
163 <ul>
168 <li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
164 <li>Zabránit parsování Redmine odkazů, lze vložením vykřičníku před odkaz: !</li>
169 </ul>
165 </ul>
170
166
171
167
172 <h3><a name="4" class="wiki-page"></a>External links</h3>
168 <h3><a name="4" class="wiki-page"></a>Externí odkazy</h3>
173
169
174 <p>HTTP URLs and email addresses are automatically turned into clickable links:</p>
170 <p>URL odkazy a emaily jsou automaticky zobrazeny jako klikací odkaz:</p>
175
171
176 <pre>
172 <pre>
177 http://www.redmine.org, someone@foo.bar
173 http://www.redmine.org, someone@foo.bar
178 </pre>
174 </pre>
179
175
180 <p>displays: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
176 <p>zobrazí: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
181
177
182 <p>If you want to display a specific text instead of the URL, you can use the standard markdown syntax:</p>
178 <p>Jestliže chcete zobrazit určitý text místo URL, můžete použít standardní syntaxi textile:</p>
183
179
184 <pre>
180 <pre>
185 [Redmine web site](http://www.redmine.org)
181 "Webová stránka Redmine":http://www.redmine.org
186 </pre>
182 </pre>
187
183
188 <p>displays: <a href="http://www.redmine.org" class="external">Redmine web site</a></p>
184 <p>zobrazí: <a href="http://www.redmine.org" class="external">Webová stránka Redmine</a></p>
189
185
190
186
191 <h2><a name="5" class="wiki-page"></a>Text formatting</h2>
187 <<h2><a name="5" class="wiki-page"></a>Formátování textu</h2>
192
188
193
189
194 <p>For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See <a class="external" href="http://daringfireball.net/projects/markdown/syntax">http://daringfireball.net/projects/markdown/syntax</a> for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.</p>
190 <p>Pro nadpisy, tučný text, tabulky a seznamy, Redmine podporuje syntaxi Textile. Podívejte se na <a class="external" href="http://en.wikipedia.org/wiki/Textile_%28markup_language%29">http://en.wikipedia.org/wiki/Textile_(markup_language)</a> pro informace o využití těchto vlastností. Několik příkladů je uvedeno níže, ale Textile toho dokáže mnohem víc.</p>
195
191
196 <h3><a name="6" class="wiki-page"></a>Font style</h3>
192 <h3><a name="6" class="wiki-page"></a>Styly písma</h3>
197
193
198 <pre>
194 <pre>
199 * **bold**
195 * **tučný**
200 * *Italic*
196 * *kurzíva*
201 * ***bold italic***
197 * ***tučná kurzíva***
202 * ~~strike-through~~
198 * ~~přeškrtnutý~~
203 </pre>
199 </pre>
204
200
205 <p>Display:</p>
201 <p>Zobrazí:</p>
206
202
207 <ul>
203 <ul>
208 <li><strong>bold</strong></li>
204 <li><strong>tučný</strong></li>
209 <li><em>italic</em></li>
205 <li><em>kurzíva</em></li>
210 <li><em><strong>bold italic</strong></em></li>
206 <li><em><strong>tučná kurzíva</strong></em></li>
211 <li><del>strike-through</del></li>
207 <li><del>přeškrtnutý</del></li>
212 </ul>
208 </ul>
213
209
214 <h3><a name="7" class="wiki-page"></a>Inline images</h3>
210 <h3><a name="7" class="wiki-page"></a>Vložené obrázky</h3>
215
211
216 <ul>
212 <ul>
217 <li><strong>![](image_url)</strong> displays an image located at image_url (markdown syntax)</li>
213 <li><strong>![](image_url)</strong> zobrazí obrázek z odkazu (syntaxe markdown)</li>
218 <li>If you have an image attached to your wiki page, it can be displayed inline using its filename: <strong>![](attached_image)</strong></li>
214 <li>Jestliže máte obrázek přiložený k Wiki stránce, může být zobrazen jako vložený obrázek pomocí jeho jména: <strong>![](attached_image)</strong></li>
219 </ul>
215 </ul>
220
216
221 <h3><a name="8" class="wiki-page"></a>Headings</h3>
217 <h3><a name="8" class="wiki-page"></a>Headings</h3>
222
218
223 <pre>
219 <pre>
224 # Heading
220 # Nadpis 1. úrovně
225 ## Subheading
221 ## Nadpis 2. úrovně
226 ### Subsubheading
222 ### Nadpis 3. úrovně
227 </pre>
223 </pre>
228
224
229 <p>Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.</p>
225 <p>Redmine přiřadí kotvu ke každému nadpisu, takže se na ně lze odkazovat pomocí "#Nadpis", "#Podnadpis" atd.</p>
230
226
231
227
232 <h3><a name="10" class="wiki-page"></a>Blockquotes</h3>
228 <h3><a name="10" class="wiki-page"></a>Odstavce</h3>
233
229
234 <p>Start the paragraph with <strong>&gt;</strong></p>
230 <p>Začněte odstavec s <strong>&gt;</strong></p>
235
231
236 <pre>
232 <pre>
237 &gt; Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
233 &gt; Rails je framework pro vývoj webových aplikací podle modelu Model-View-Control.
238 To go live, all you need to add is a database and a web server.
234 Vše, co je potřeba, je databázový a webový server.
239 </pre>
235 </pre>
240
236
241 <p>Display:</p>
237 <p>Zobrazí:</p>
242
238
243 <blockquote>
239 <blockquote>
244 <p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br />To go live, all you need to add is a database and a web server.</p>
240 <p>Rails je framework pro vývoj webových aplikací podle modelu Model-View-Control.<br />Vše, co je potřeba, je databázový a webový server.</p>
245 </blockquote>
241 </blockquote>
246
242
247
243
248 <h3><a name="11" class="wiki-page"></a>Table of content</h3>
244 <h3><a name="11" class="wiki-page"></a>Obsah</h3>
249
245
250 <pre>
246 <pre>
251 {{toc}} =&gt; left aligned toc
247 {{toc}} =&gt; obsah zarovnaný doleva
252 {{&gt;toc}} =&gt; right aligned toc
248 {{&gt;toc}} =&gt; obsah zarovnaný doprava
253 </pre>
249 </pre>
254
250
255 <h3><a name="14" class="wiki-page"></a>Horizontal Rule</h3>
251 <h3><a name="14" class="wiki-page"></a>Vodorovná čára</h3>
256
252
257 <pre>
253 <pre>
258 ---
254 ---
@@ -260,54 +256,54 To go live, all you need to add is a database and a web server.
260
256
261 <h2><a name="12" class="wiki-page"></a>Macros</h2>
257 <h2><a name="12" class="wiki-page"></a>Macros</h2>
262
258
263 <p>Redmine has the following builtin macros:</p>
259 <p>Redmine obsahuje následující vestavěná makra:</p>
264
260
265 <p>
261 <p>
266 <dl>
262 <dl>
267 <dt><code>hello_world</code></dt>
263 <dt><code>hello_world</code></dt>
268 <dd><p>Sample macro.</p></dd>
264 <dd><p>Jednoduché makro.</p></dd>
269
265
270 <dt><code>macro_list</code></dt>
266 <dt><code>macro_list</code></dt>
271 <dd><p>Displays a list of all available macros, including description if available.</p></dd>
267 <dd><p>Zobrazí seznam všech dostupných maker, včetně jejich popisu, existuje-li.</p></dd>
272
268
273 <dt><code>child_pages</code></dt>
269 <dt><code>child_pages</code></dt>
274 <dd><p>Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:</p>
270 <dd><p>Zobrazí seznam dětských stránek. Bez parametrů zobrazí dětské stránky aktuální wiki stránky. Např.:</p>
275 <pre><code>{{child_pages}} -- can be used from a wiki page only
271 <pre><code>{{child_pages}} -- lze použít pouze z wiki stránky
276 {{child_pages(depth=2)}} -- display 2 levels nesting only</code></pre></dd>
272 {{child_pages(depth=2)}} -- zobrazí dětské stránky pouze do 2. úrovně</code></pre></dd>
277
273
278 <dt><code>include</code></dt>
274 <dt><code>include</code></dt>
279 <dd><p>Include a wiki page. Example:</p>
275 <dd><p>Vloží Wiki stránku. Např.:</p>
280 <pre><code>{{include(Foo)}}</code></pre>
276 <pre><code>{{include(Foo)}}</code></pre>
281 <p>or to include a page of a specific project wiki:</p>
277 <p>or to include a page of a specific project wiki:</p>
282 <pre><code>{{include(projectname:Foo)}}</code></pre></dd>
278 <pre><code>{{include(projectname:Foo)}}</code></pre></dd>
283
279
284 <dt><code>collapse</code></dt>
280 <dt><code>collapse</code></dt>
285 <dd><p>Inserts of collapsed block of text. Example:</p>
281 <dd><p>Vloží sbalený blok textu. Např.:</p>
286 <pre><code>{{collapse(View details...)
282 <pre><code>{{collapse(Zobrazit detaily...)
287 This is a block of text that is collapsed by default.
283 Toto je blok textu, který je sbalený.
288 It can be expanded by clicking a link.
284 Pro rozbalení klikněte na odkaz.
289 }}</code></pre></dd>
285 }}</code></pre></dd>
290
286
291 <dt><code>thumbnail</code></dt>
287 <dt><code>thumbnail</code></dt>
292 <dd><p>Displays a clickable thumbnail of an attached image. Examples:</p>
288 <dd><p>Zobrazí klikací náhled obrázku. Např.:</p>
293 <pre>{{thumbnail(image.png)}}
289 <pre>{{thumbnail(image.png)}}
294 {{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
290 {{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
295 </dl>
291 </dl>
296 </p>
292 </p>
297
293
298 <h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
294 <h2><a name="13" class="wiki-page"></a>Zvýrazňování kódu</h2>
299
295
300 <p>Default 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, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.</p>
296 <p>Výchozí zvýrazňování kódu zavisí na <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, což je rychlá zvýrazňovací knihovna napsaná v Ruby. It currently supports c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.</p>
301
297
302 <p>You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):</p>
298 <p>Kód můžete na stránce zvýraznit pomocí následující syntaxe (note that the language name or alias is case-insensitive):</p>
303
299
304 <pre>
300 <pre>
305 ~~~ ruby
301 ~~~ ruby
306 Place your code here.
302 Váš kód vložte zde.
307 ~~~
303 ~~~
308 </pre>
304 </pre>
309
305
310 <p>Example:</p>
306 <p>Např:</p>
311
307
312 <pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
308 <pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
313 <span class="keyword">class</span> <span class="class">Greeter</span>
309 <span class="keyword">class</span> <span class="class">Greeter</span>
@@ -145,11 +145,11
145 </ul>
145 </ul>
146
146
147 <ul>
147 <ul>
148 <li>News:
148 <li>Novinky:
149 <ul>
149 <ul>
150 <li><strong>news#2</strong> (link to news item with id 2)</li>
150 <li><strong>news#2</strong> (odkaz na novinku id 2)</li>
151 <li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
151 <li><strong>news:Greetings</strong> (odkaz na novinku "Greetings")</li>
152 <li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
152 <li><strong>news:"First Release"</strong> (použij dvojté uvozovky, jestliže název novinky obsahuje mezery)</li>
153 </ul></li>
153 </ul></li>
154 </ul>
154 </ul>
155
155
@@ -20,46 +20,46 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
20 </head>
20 </head>
21 <body>
21 <body>
22
22
23 <h1>Wiki Syntax Quick Reference (Markdown)</h1>
23 <h1><h1>Syntaxe Wiki - rychlý náhled</h1> (Markdown)</h1>
24
24
25 <table style="width:100%">
25 <table style="width:100%">
26 <tr><th colspan="3">Font Styles</th></tr>
26 <tr><th colspan="3">Styly písma</th></tr>
27 <tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Strong" /></th><td style="width:50%;">**Strong**</td><td style="width:50%;"><strong>Strong</strong></td></tr>
27 <tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Strong" /></th><td style="width:50%;">**Tučně**</td><td style="width:50%;"><strong>Tučně</strong></td></tr>
28 <tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>*Italic*</td><td><em>Italic</em></td></tr>
28 <tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>*Kurzívou*</td><td><em>Kurzívou</em></td></tr>
29 <tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Deleted" /></th><td>~~Deleted~~</td><td><del>Deleted</del></td></tr>
29 <tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Deleted" /></th><td>~~Smazaný~~</td><td><del>Smazaný</del></td></tr>
30 <tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Inline Code" /></th><td>`Inline Code`</td><td><code>Inline Code</code></td></tr>
30 <tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Inline Code" /></th><td>`Vnořený kód`</td><td><code>Vnořený kód</code></td></tr>
31 <tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>~~~<br />&nbsp;lines<br />&nbsp;of code<br />~~~</td><td>
31 <tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>~~~<br />&nbsp;řádky<br />&nbsp;kódu<br />~~~</td><td>
32 <pre>
32 <pre>
33 lines
33 řádky
34 of code
34 kódu
35 </pre>
35 </pre>
36 </td></tr>
36 </td></tr>
37
37
38 <tr><th colspan="3">Lists</th></tr>
38 <tr><th colspan="3">Seznamy</th></tr>
39 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Unordered list" /></th><td>* Item 1<br />&nbsp;&nbsp;* Sub<br />* Item 2</td><td><ul><li>Item 1<ul><li>Sub</li></ul></li><li>Item 2</li></ul></td></tr>
39 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Unordered list" /></th><td>* Položka 1<br />&nbsp;&nbsp;* Pod<br />* Položka 2</td><td><ul><li>Položka 1<ul><li>Pod</li></ul></li><li>Položka 2</li></ul></td></tr>
40 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Ordered list" /></th><td>1. Item 1<br />&nbsp;&nbsp;&nbsp;1. Sub<br />2. Item 2</td><td><ol><li>Item 1<ol><li>Sub</li></ol></li><li>Item 2</li></ol></td></tr>
40 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Ordered list" /></th><td>1. Položka 1<br />&nbsp;&nbsp;&nbsp;1. Pod<br />2. Položka 2</td><td><ol><li>Položka 1<ol><li>Pod</li></ol></li><li>Položka 2</li></ol></td></tr>
41
41
42 <tr><th colspan="3">Headings</th></tr>
42 <tr><th colspan="3">Nadpisy</th></tr>
43 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Heading 1" /></th><td># Title 1</td><td><h1>Title 1</h1></td></tr>
43 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Heading 1" /></th><td># Nadpis 1</td><td><h1>Title 1</h1></td></tr>
44 <tr><th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Heading 2" /></th><td>## Title 2</td><td><h2>Title 2</h2></td></tr>
44 <tr><th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Heading 2" /></th><td>## Nadpis 2</td><td><h2>Title 2</h2></td></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Heading 3" /></th><td>### Title 3</td><td><h3>Title 3</h3></td></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Heading 3" /></th><td>### Nadpis 3</td><td><h3>Title 3</h3></td></tr>
46
46
47 <tr><th colspan="3">Links</th></tr>
47 <tr><th colspan="3">Odkazy</th></tr>
48 <tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
48 <tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
49 <tr><th></th><td>[Foo](http://foo.bar)</td><td><a href="#">Foo</a></td></tr>
49 <tr><th></th><td>[Odkaz](http://foo.bar)</td><td><a href="#">Foo</a></td></tr>
50
50
51 <tr><th colspan="3">Redmine links</th></tr>
51 <tr><th colspan="3">Redmine odkazy</th></tr>
52 <tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Link to a Wiki page" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
52 <tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Link to a Wiki page" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
53 <tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
53 <tr><th></th><td>Úkol #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>Revize 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 <tr><th></th><td>source:some/file</td><td><a href="#">source:some/file</a></td></tr>
57
57
58 <tr><th colspan="3">Inline images</th></tr>
58 <tr><th colspan="3">Vnořené obrázky</th></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>
59 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td>![](<em>url_obrázku</em>)</td><td></td></tr>
60 <tr><th></th><td>![](<em>attached_image</em>)</td><td></td></tr>
60 <tr><th></th><td>![](<em>vnořený_obrázek</em>)</td><td></td></tr>
61
61
62 <tr><th colspan="3">Tables</th></tr>
62 <tr><th colspan="3">Tabulky</th></tr>
63 <tr>
63 <tr>
64 <th></th>
64 <th></th>
65 <td>| A | B | C |<br />|---|---|---|<br />| A | B | C |<br />| D | E | F |</td>
65 <td>| A | B | C |<br />|---|---|---|<br />| A | B | C |<br />| D | E | F |</td>
@@ -76,7 +76,7 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
76
76
77 </table>
77 </table>
78
78
79 <p><a href="wiki_syntax_detailed_markdown.html" onclick="window.open('wiki_syntax_detailed_markdown.html', '', ''); return false;">More Information</a></p>
79 <p><a href="wiki_syntax_detailed_markdown.html" onclick="window.open('wiki_syntax_detailed_markdown.html', '', ''); return false;">Více informací</a></p>
80
80
81 </body>
81 </body>
82 </html>
82 </html>
@@ -38,8 +38,8 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
38 </td></tr>
38 </td></tr>
39
39
40 <tr><th colspan="3">Seznamy</th></tr>
40 <tr><th colspan="3">Seznamy</th></tr>
41 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Nesetříděný seznam" /></th><td>* Položka 1<br />** Sub<br />* Položka 2</td><td><ul><li>Položka 1<ul><li>Sub</li></ul></li><li>Položka 2</li></ul></td></tr>
41 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Nesetříděný seznam" /></th><td>* Položka 1<br />** Pod<br />* Položka 2</td><td><ul><li>Položka 1<ul><li>Pod</li></ul></li><li>Položka 2</li></ul></td></tr>
42 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Setříděný seznam" /></th><td># Položka 1<br />## Sub<br /># Položka 2</td><td><ol><li>Položka 1<ol><li>Sub</li></ol></li><li>Položka 2</li></ol></td></tr>
42 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Setříděný seznam" /></th><td># Položka 1<br />## Pod<br /># Položka 2</td><td><ol><li>Položka 1<ol><li>Sub</li></ol></li><li>Položka 2</li></ol></td></tr>
43
43
44 <tr><th colspan="3">Nadpisy</th></tr>
44 <tr><th colspan="3">Nadpisy</th></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Nadpis 1" /></th><td>h1. Nadpis 1</td><td><h1>Nadpis 1</h1></td></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Nadpis 1" /></th><td>h1. Nadpis 1</td><td><h1>Nadpis 1</h1></td></tr>
@@ -61,7 +61,7 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
61 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Obrázek" /></th><td>!<em>url_obrázku</em>!</td><td></td></tr>
61 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Obrázek" /></th><td>!<em>url_obrázku</em>!</td><td></td></tr>
62 <tr><th></th><td>!<em>vnořený_obrázek</em>!</td><td></td></tr>
62 <tr><th></th><td>!<em>vnořený_obrázek</em>!</td><td></td></tr>
63
63
64 <tr><th colspan="3">Tables</th></tr>
64 <tr><th colspan="3">Tabulky</th></tr>
65 <tr>
65 <tr>
66 <th></th>
66 <th></th>
67 <td>|_. A |_. B |_. C |<br />| A | B | C |<br />|/2. row span | B | C |<br />|\2. col span |</td>
67 <td>|_. A |_. B |_. C |<br />| A | B | C |<br />|/2. row span | B | C |<br />|\2. col span |</td>
General Comments 0
You need to be logged in to leave comments. Login now