summaryrefslogtreecommitdiffstats
path: root/public/help/cs
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-27 01:30:56 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-27 01:30:56 +0000
commitbf4a6ccf6d602a8c77df61f5b0ee86923c598836 (patch)
treefa30fdaa197d2c02878dc53e84139cf5f115a61f /public/help/cs
parent50becaf5eed5e26c8c4019f2d2adb9e1d7ee2043 (diff)
downloadredmine-bf4a6ccf6d602a8c77df61f5b0ee86923c598836.tar.gz
redmine-bf4a6ccf6d602a8c77df61f5b0ee86923c598836.zip
Add "Highlighted code" section in Wiki Syntax Quick Reference (#32123).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18545 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/help/cs')
-rw-r--r--public/help/cs/wiki_syntax_markdown.html8
-rw-r--r--public/help/cs/wiki_syntax_textile.html8
2 files changed, 16 insertions, 0 deletions
diff --git a/public/help/cs/wiki_syntax_markdown.html b/public/help/cs/wiki_syntax_markdown.html
index 4980081d3..4ad6ace32 100644
--- a/public/help/cs/wiki_syntax_markdown.html
+++ b/public/help/cs/wiki_syntax_markdown.html
@@ -23,6 +23,14 @@
</pre>
</td></tr>
+<tr><th colspan="3">Highlighted code</th></tr>
+<tr><th><img src="../../images/jstoolbar/bt_precode.png" style="border: 1px solid #bbb;" alt="Highlighted code" /></th><td>``` ruby<br />3.times do<br />&nbsp;&nbsp;puts 'Hello'<br />end<br />```</td><td>
+<pre><code class="ruby syntaxhl"><span class="mi">3</span><span class="p">.</span><span class="nf">times</span> <span class="k">do</span>
+ <span class="nb">puts</span> <span class="s1">'Hello'</span>
+<span class="k">end</span>
+</code></pre>
+</td></tr>
+
<tr><th colspan="3">Seznamy</th></tr>
<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>
<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>
diff --git a/public/help/cs/wiki_syntax_textile.html b/public/help/cs/wiki_syntax_textile.html
index 0e9269210..eed5ca194 100644
--- a/public/help/cs/wiki_syntax_textile.html
+++ b/public/help/cs/wiki_syntax_textile.html
@@ -24,6 +24,14 @@
</pre>
</td></tr>
+<tr><th colspan="3">Highlighted code</th></tr>
+<tr><th><img src="../../images/jstoolbar/bt_precode.png" style="border: 1px solid #bbb;" alt="Highlighted code" /></th><td>&lt;pre&gt;&lt;code class="ruby"&gt;<br />3.times do<br />&nbsp;&nbsp;puts 'Hello'<br />end<br />&lt;/code&gt;&lt;/pre&gt;</td><td>
+<pre><code class="ruby syntaxhl"><span class="mi">3</span><span class="p">.</span><span class="nf">times</span> <span class="k">do</span>
+ <span class="nb">puts</span> <span class="s1">'Hello'</span>
+<span class="k">end</span>
+</code></pre>
+</td></tr>
+
<tr><th colspan="3">Seznamy</th></tr>
<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>
<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>Pod</li></ol></li><li>Položka 2</li></ol></td></tr>