summaryrefslogtreecommitdiffstats
path: root/public/help/sl/wiki_syntax_textile.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/help/sl/wiki_syntax_textile.html')
-rw-r--r--public/help/sl/wiki_syntax_textile.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/help/sl/wiki_syntax_textile.html b/public/help/sl/wiki_syntax_textile.html
index 4727f6d33..5410fb448 100644
--- a/public/help/sl/wiki_syntax_textile.html
+++ b/public/help/sl/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>