summaryrefslogtreecommitdiffstats
path: root/public/help/th
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/th
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/th')
-rw-r--r--public/help/th/wiki_syntax_markdown.html8
-rw-r--r--public/help/th/wiki_syntax_textile.html8
2 files changed, 16 insertions, 0 deletions
diff --git a/public/help/th/wiki_syntax_markdown.html b/public/help/th/wiki_syntax_markdown.html
index 06d222b1d..2eeca0c0a 100644
--- a/public/help/th/wiki_syntax_markdown.html
+++ b/public/help/th/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">Lists</th></tr>
<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>
<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>
diff --git a/public/help/th/wiki_syntax_textile.html b/public/help/th/wiki_syntax_textile.html
index 4727f6d33..5410fb448 100644
--- a/public/help/th/wiki_syntax_textile.html
+++ b/public/help/th/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">Lists</th></tr>
<tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Unordered list" /></th><td>* Item 1<br />** Sub<br />* Item 2</td><td><ul><li>Item 1<ul><li>Sub</li></ul></li><li>Item 2</li></ul></td></tr>
<tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Ordered list" /></th><td># Item 1<br />## Sub<br /># Item 2</td><td><ol><li>Item 1<ol><li>Sub</li></ol></li><li>Item 2</li></ol></td></tr>