Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -9,6 +9,26 @@
|
|||
<body>
|
||||
<h1><a name="1" class="wiki-page"></a>Formátování Wiki</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li><a href='#2'>Odkazy</a></li>
|
||||
<ul>
|
||||
<li><a href='#3'>Odkazy Redmine</a></li>
|
||||
<li><a href='#4'>Externí odkazy</a></li>
|
||||
</ul>
|
||||
<li><a href='#5'>Formátování textu</a></li>
|
||||
<ul>
|
||||
<li><a href='#6'>Styly písma</a></li>
|
||||
<li><a href='#7'>Vložené obrázky</a></li>
|
||||
<li><a href='#8'>Nadpisy</a></li>
|
||||
<li><a href='#9'>Odstavce</a></li>
|
||||
<li><a href='#10'>Citace</a></li>
|
||||
<li><a href='#11'>Obsah</a></li>
|
||||
<li><a href='#14'>Vodorovná čára</a></li>
|
||||
</ul>
|
||||
<li><a href='#12'>Makra</a></li>
|
||||
<li><a href='#13'>Zvýrazňování kódu</a></li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="2" class="wiki-page"></a>Odkazy</h2>
|
||||
|
||||
<h3><a name="3" class="wiki-page"></a>Odkazy Redmine</h3>
|
||||
|
@ -16,7 +36,9 @@
|
|||
<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>
|
||||
<ul>
|
||||
<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>
|
||||
<li>Link to an issue including tracker name and subject: <strong>##124</strong> (displays <a href="#" class="issue" title="bulk edit doesn't change the category or fixed version properties (New)">Bug #124</a>: bulk edit doesn't change the category or fixed version properties)</li>
|
||||
<li>Odkaz na poznámku k úkolu: <strong>#124-6</strong>, nebo <strong>#124#note-6</strong></li>
|
||||
<li>Link to an issue note within the same issue: <strong>#note-6</strong></li>
|
||||
</ul>
|
||||
|
||||
<p>Odkazy Wiki:</p>
|
||||
|
@ -24,6 +46,7 @@
|
|||
<ul>
|
||||
<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>
|
||||
<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>
|
||||
<li><strong>[[#further-reading]]</strong> link to the anchor "further-reading" of the current page: <a href="#" class="wiki-page">#further-reading</a></li>
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
|
@ -203,6 +226,8 @@ http://www.redmine.org, someone@foo.bar
|
|||
<li><strong>!image_url!</strong> zobrazí obrázek z odkazu (syntaxe textile)</li>
|
||||
<li><strong>!>image_url!</strong> obrázek zarovnaný napravo</li>
|
||||
<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>!prilozeny_obrazek.png!</strong></li>
|
||||
<li>Images in your computer's clipboard can be pasted directly using Ctrl-v or Command-v (note that Internet Explorer is not supported).</li>
|
||||
<li>Image files can be dragged onto the text area in order to be uploaded and embedded.</li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="8" class="wiki-page"></a>Nadpisy</h3>
|
||||
|
@ -290,12 +315,19 @@ Pro rozbalení klikněte na odkaz.
|
|||
<dd><p>Zobrazí klikací náhled obrázku. Např.:</p>
|
||||
<pre>{{thumbnail(image.png)}}
|
||||
{{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
|
||||
|
||||
<dt><code>issue</code></dt>
|
||||
<dd><p>Inserts a link to an issue with flexible text. Examples:</p>
|
||||
<pre>{{issue(123)}} -- Issue #123: Enhance macro capabilities
|
||||
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
|
||||
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
|
||||
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
|
||||
</dl>
|
||||
</p>
|
||||
|
||||
<h2><a name="13" class="wiki-page"></a>Zvýrazňování kódu</h2>
|
||||
|
||||
<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. Aktuálně podporuje: 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 a yaml (yml) jazyky, jejichž jména jsou v závorkách jsou aliasy.</p>
|
||||
<p>Default code highlightment relies on <a href="http://rouge.jneen.net/" class="external">Rouge</a>, a syntax highlighting library written in pure Ruby. It supports many commonly used languages such as <strong>c</strong>, <strong>cpp</strong> (c++), <strong>csharp</strong> (c#, cs), <strong>css</strong>, <strong>diff</strong> (patch, udiff), <strong>go</strong> (golang), <strong>groovy</strong>, <strong>html</strong>, <strong>java</strong>, <strong>javascript</strong> (js), <strong>kotlin</strong>, <strong>objective_c</strong> (objc), <strong>perl</strong> (pl), <strong>php</strong>, <strong>python</strong> (py), <strong>r</strong>, <strong>ruby</strong> (rb), <strong>sass</strong>, <strong>scala</strong>, <strong>shell</strong> (bash, zsh, ksh, sh), <strong>sql</strong>, <strong>swift</strong>, <strong>xml</strong> and <strong>yaml</strong> (yml) languages, where the names inside parentheses are aliases. Please refer to <a href="https://www.redmine.org/projects/redmine/wiki/RedmineCodeHighlightingLanguages" class="external">https://www.redmine.org/projects/redmine/wiki/RedmineCodeHighlightingLanguages</a> for the full list of supported languages.</p>
|
||||
|
||||
<p>Kód můžete na stránce zvýraznit pomocí následující syntaxe (záleží na velikosti písma jazyku nebo aliasu):</p>
|
||||
|
||||
|
@ -307,16 +339,16 @@ Pro rozbalení klikněte na odkaz.
|
|||
|
||||
<p>Např.:</p>
|
||||
|
||||
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
|
||||
<span class="keyword">class</span> <span class="class">Greeter</span>
|
||||
<span class="keyword">def</span> <span class="function">initialize</span>(name)
|
||||
<span class="instance-variable">@name</span> = name.capitalize
|
||||
<span class="keyword">end</span>
|
||||
<pre><code class="ruby syntaxhl"><span class="c1"># The Greeter class</span>
|
||||
<span class="k">class</span> <span class="nc">Greeter</span>
|
||||
<span class="k">def</span> <span class="nf">initialize</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
|
||||
<span class="vi">@name</span> <span class="o">=</span> <span class="nb">name</span><span class="p">.</span><span class="nf">capitalize</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="keyword">def</span> <span class="function">salute</span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
|
||||
<span class="keyword">end</span>
|
||||
<span class="keyword">end</span></span></code>
|
||||
</pre>
|
||||
<span class="k">def</span> <span class="nf">salute</span>
|
||||
<span class="nb">puts</span> <span class="s2">"Hello </span><span class="si">#{</span><span class="vi">@name</span><span class="si">}</span><span class="s2">!"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue