summaryrefslogtreecommitdiffstats
path: root/public/help/ru/wiki_syntax_markdown.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/help/ru/wiki_syntax_markdown.html')
-rw-r--r--public/help/ru/wiki_syntax_markdown.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/help/ru/wiki_syntax_markdown.html b/public/help/ru/wiki_syntax_markdown.html
index 06d222b1d..2eeca0c0a 100644
--- a/public/help/ru/wiki_syntax_markdown.html
+++ b/public/help/ru/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>