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 >
2016-04-21 08:48:33 +02:00
< h3 id = "markdown-help-label" > {% trans %}Message formatting{% endtrans %}< / 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 >
2016-04-21 08:48:33 +02:00
< th > {% trans %}You type{% endtrans %}< / th >
< th > {% trans %}You get{% endtrans %}< / 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 >
2016-11-22 19:57:16 +01:00
< tr >
< td > *italic*< / td >
< td > < i > italic< / i > < / td >
< / tr >
2012-11-02 22:29:13 +01:00
< tr >
2013-06-05 00:29:25 +02:00
< td > **bold**< / td >
2013-07-09 22:02:04 +02:00
< td > < b > bold< / b > < / td >
2012-11-02 22:29:13 +01:00
< / tr >
2016-11-08 07:26:38 +01:00
< tr >
< td > ~~strikethrough~~< / td >
< td > < del > strikethrough< / del > < / td >
< / tr >
2012-11-02 22:29:13 +01:00
< tr >
2014-07-15 23:21:03 +02:00
< td > [{{product_name}}](https://zulip.com)< / td >
< td > < a href = "https://zulip.com" target = "_blank" > {{product_name}}< / a > < / td >
2012-11-02 22:29:13 +01:00
< / tr >
< tr >
2013-07-09 22:05:14 +02:00
< td > * Archimedes< br / >
* Bohr< br / >
* Curie
2013-07-09 22:02:04 +02:00
< / td >
2012-11-02 22:29:13 +01:00
< td >
< ul >
2013-07-09 22:05:14 +02:00
< li > Archimedes< / li >
< li > Bohr< / li >
< li > Curie< / li >
2013-07-09 22:02:04 +02:00
< / ul >
2013-06-05 00:29:25 +02:00
< / td >
2012-11-02 22:29:13 +01:00
< / tr >
< tr >
2016-06-13 08:18:33 +02:00
< td > :heart: (and < a href = "http://www.emoji-cheat-sheet.com/" target = "_blank" > many others< / a > , from the < a href = "https://code.google.com/p/noto/" license = "/static/third/gemoji/images/emoji/NOTICE" target = "_blank" > Noto Project< / a > )< / td >
< td > < img alt = ":heart:" class = "emoji" src = "/static/third/gemoji/images/emoji/heart.png" title = ":heart:" / > < / td >
2013-12-11 17:24:10 +01:00
< / tr >
< tr >
< td > @**Joe Smith**< br / >
(autocompletes from @joe)< / td >
< td > < span class = "user-mention" > @Joe Smith< / span > (notifies Joe Smith)< / td >
< / tr >
< tr >
< td > @**all**< / td >
< td > < span class = "user-mention" > @all< / span > (notifies all recipients)< / td >
2012-11-02 22:29:13 +01:00
< / tr >
2016-12-06 00:13:06 +01:00
< tr >
< td > #**streamName**< / td >
< td > < a > #streamName< / a > (links to a stream)< / td >
< / tr >
2012-11-02 22:29:13 +01:00
< tr >
2013-06-05 00:29:25 +02:00
< td > Some inline `code`< / td >
2013-07-09 22:02:04 +02:00
< td > Some inline < code > code< / code > < / td >
2012-11-02 22:29:13 +01:00
< / tr >
< tr >
2013-11-26 19:56:13 +01:00
< td class = "preserve_spaces" > ```
2013-07-10 22:14:08 +02:00
def zulip():
2014-07-15 23:21:03 +02:00
print "{{product_name}}"
2013-11-26 19:56:13 +01:00
```< / td >
2013-07-10 22:14:08 +02:00
< td > < pre > def zulip():
2014-07-15 23:21:03 +02:00
print "{{product_name}}"< / pre > < / td >
2012-11-02 22:29:13 +01:00
< / tr >
2012-11-19 18:53:43 +01:00
< tr >
2013-11-26 19:56:13 +01:00
< td class = "preserve_spaces" > ``` .py
2013-07-10 22:14:08 +02:00
def zulip():
2014-07-15 23:21:03 +02:00
print "{{product_name}}"
2013-11-26 19:56:13 +01:00
```< / td >
2013-07-09 22:02:04 +02:00
< td >
2013-07-10 22:14:08 +02:00
< div class = "codehilite" > < pre > < span class = "k" > def< / span > < span class = "nf" > zulip< / span > < span class = "p" > ():< / span >
2014-07-15 23:21:03 +02:00
< span class = "k" > print< / span > < span class = "s" > "{{product_name}}"< / span > < / pre > < / div >
2013-07-09 22:02:04 +02:00
< / td >
2012-11-19 18:53:43 +01:00
< / tr >
2013-03-02 22:15:44 +01:00
< tr >
2016-04-21 08:48:33 +02:00
< td colspan = "2" > {% trans %}You can also make a code block by indenting each line with 4 spaces.{% endtrans %}< / td >
2013-03-02 22:15:44 +01:00
< / tr >
< tr >
2013-12-11 17:24:10 +01:00
< td > > Quoted< / td >
< td > < blockquote > Quoted< / blockquote > < / td >
2013-03-02 22:15:44 +01:00
< / tr >
2013-06-05 00:35:50 +02:00
< tr >
2013-12-11 17:24:10 +01:00
< td class = "preserve_spaces" > ``` quote
Quoted block
```< / td >
< td > < blockquote > < p > Quoted block< / p > < / blockquote > < / td >
2013-06-05 00:35:50 +02:00
< / tr >
2014-01-10 23:33:13 +01:00
< tr >
2016-04-21 08:48:33 +02:00
< td colspan = "2" > {% trans %}You can also make < a target = "_blank"
2014-01-10 23:33:13 +01:00
href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables">tables< / a >
with this < a target = "_blank"
href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables">Markdown-ish
2016-04-21 08:48:33 +02:00
table syntax< / a > {% endtrans %}.< / td >
2014-01-10 23:33:13 +01:00
< / tr >
2012-11-29 17:22:00 +01:00
< / tbody >
2012-11-02 22:29:13 +01:00
< / table >
< / div >
< / div >
< div class = "modal-footer" >
2016-04-21 08:48:33 +02:00
< button class = "btn btn-primary" data-dismiss = "modal" aria-hidden = "true" > {{ _("Close") }}< / button >
2012-11-02 22:29:13 +01:00
< / div >
< / div >