diff options
author | Go MAEDA <maeda@farend.jp> | 2019-09-27 01:30:56 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-09-27 01:30:56 +0000 |
commit | bf4a6ccf6d602a8c77df61f5b0ee86923c598836 (patch) | |
tree | fa30fdaa197d2c02878dc53e84139cf5f115a61f /public/help/th | |
parent | 50becaf5eed5e26c8c4019f2d2adb9e1d7ee2043 (diff) | |
download | redmine-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.html | 8 | ||||
-rw-r--r-- | public/help/th/wiki_syntax_textile.html | 8 |
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 /> 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 /> * 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 /> 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><pre><code class="ruby"><br />3.times do<br /> puts 'Hello'<br />end<br /></code></pre></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> |