2012-11-05 16:57:52 +01:00
|
|
|
|
<div class="modal hide" id="markdown-help" tabindex="-1" role="dialog"
|
2012-11-02 22:29:13 +01:00
|
|
|
|
aria-labelledby="markdown-help-label" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2012-11-29 18:06:51 +01:00
|
|
|
|
<h3 id="markdown-help-label">Message formatting</h3>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div id="markdown-instructions">
|
2012-11-29 18:44:43 +01:00
|
|
|
|
<table class="table table-striped table-condensed table-rounded table-bordered" id="fmt_help_table">
|
2012-11-29 17:22:00 +01:00
|
|
|
|
<thead><tr>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
<th>You type</th>
|
|
|
|
|
<th>You get</th>
|
2012-11-29 17:22:00 +01:00
|
|
|
|
</tr></thead>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
|
2012-11-29 17:22:00 +01:00
|
|
|
|
<tbody>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
<tr>
|
|
|
|
|
<td>*italic*</td>
|
|
|
|
|
<td><i>italic</i></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>**bold**</td>
|
|
|
|
|
<td><b>bold</b></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>[Bah!](http://humbughq.com)</td>
|
|
|
|
|
<td><a href="http://humbughq.com">Bah!</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>* a<br/>
|
|
|
|
|
* b<br/>
|
|
|
|
|
* c<br/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>a</li>
|
|
|
|
|
<li>b</li>
|
|
|
|
|
<li>c</li>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>> Quoted</td>
|
|
|
|
|
<td><blockquote>Quoted</blockquote></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Some inline `code`</td>
|
|
|
|
|
<td>Some inline <code>code</code></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2012-11-29 18:38:18 +01:00
|
|
|
|
<td class="preserve_spaces">~~~
|
|
|
|
|
def bah():
|
|
|
|
|
print "Humbug"
|
|
|
|
|
~~~</td>
|
2012-11-19 18:58:58 +01:00
|
|
|
|
<td><pre>def bah():
|
|
|
|
|
print "Humbug"</pre></td>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
</tr>
|
2012-11-19 18:53:43 +01:00
|
|
|
|
<tr>
|
2012-11-29 18:38:18 +01:00
|
|
|
|
<td class="preserve_spaces">~~~ .py
|
|
|
|
|
def bah():
|
|
|
|
|
print "Humbug"
|
|
|
|
|
~~~</td>
|
2012-11-19 18:53:43 +01:00
|
|
|
|
<td>
|
2012-11-19 18:58:58 +01:00
|
|
|
|
<div class="codehilite"><pre><span class="k">def</span> <span class="nf">bah</span><span class="p">():</span>
|
|
|
|
|
<span class="k">print</span> <span class="s">"Humbug"</span></pre></div>
|
2012-11-19 18:53:43 +01:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2012-11-29 17:22:00 +01:00
|
|
|
|
</tbody>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
</table>
|
2012-11-29 18:38:18 +01:00
|
|
|
|
<p>You can also make a code block by indenting each line with 4 spaces.</p>
|
2012-11-02 22:29:13 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|