2017-01-05 21:11:45 +01:00
< div class = "overlay-modal hide" id = "markdown-help" tabindex = "-1" role = "dialog"
2017-08-04 16:42:15 +02:00
aria-label="{{ _('Message formatting') }}">
2017-06-20 15:30:15 +02:00
< div class = "modal-body" tabindex = "0" >
2017-02-28 04:44:31 +01:00
< div id = "markdown-instructions" >
< table class = "table table-striped table-condensed table-rounded table-bordered help-table" >
2017-10-20 01:51:14 +02:00
< thead >
< tr >
< th > {% trans %}You type{% endtrans %}< / th >
< th > {% trans %}You get{% endtrans %}< / th >
< / tr >
< / thead >
2012-11-02 22:29:13 +01:00
2017-02-28 04:44:31 +01:00
< tbody >
< tr >
< td > *italic*< / td >
< td > < i > italic< / i > < / td >
< / tr >
< tr >
< td > **bold**< / td >
< td > < b > bold< / b > < / td >
< / tr >
< tr >
< td > ~~strikethrough~~< / td >
< td > < del > strikethrough< / del > < / td >
< / tr >
< tr >
< td > [Zulip website](https://zulip.org)< / td >
< td > < a href = "https://zulip.org" target = "_blank" > Zulip website< / a > < / td >
< / tr >
< tr >
2017-04-09 04:41:48 +02:00
< td > * Milk< br / >
* Tea< br / >
* Green tea< br / >
* Black tea< br / >
* Oolong tea< br / >
* Coffee
2017-02-28 04:44:31 +01:00
< / td >
< td >
< ul >
2017-04-09 04:41:48 +02:00
< li > Milk< / li >
< li > Tea
< ul >
< li > Green tea< / li >
< li > Black tea< / li >
< li > Oolong tea< / li >
< / ul >
< / li >
< li > Coffee< / li >
2017-02-28 04:44:31 +01:00
< / ul >
< / td >
< / tr >
2018-02-03 23:31:59 +01:00
< tr >
< td > 1. Milk< br / >
1. Tea< br / >
1. Coffee
< / td >
< td > 1. Milk< br / >
2. Tea< br / >
3. Coffee
< / td >
< / tr >
2017-02-28 04:44:31 +01:00
< tr >
< 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/generated/emoji/images/emoji/NOTICE" target = "_blank" > Noto Project< / a > )< / td >
< td > < img alt = ":heart:" class = "emoji" src = "/static/generated/emoji/images/emoji/heart.png" title = ":heart:" / > < / td >
< / 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 >
< / tr >
< tr >
< td > #**streamName**< / td >
< td > < a > #streamName< / a > (links to a stream)< / td >
< / tr >
2017-05-13 05:22:28 +02:00
< tr >
< td > /me is busy working< br / >
(send a status message as user Iago)< / td >
< td > < span class = "sender_name-in-status" > Iago< / span > is busy working< / td >
< / tr >
2017-02-28 04:44:31 +01:00
< tr >
< td > Some inline `code`< / td >
< td > Some inline < code > code< / code > < / td >
< / tr >
< tr >
< td class = "preserve_spaces" > ```
2017-12-13 02:45:43 +01:00
def zulip():
print "Zulip"
2013-11-26 19:56:13 +01:00
```< / td >
2017-12-13 02:45:43 +01:00
< td > < pre > def zulip():
print "Zulip"< / pre > < / td >
2017-02-28 04:44:31 +01:00
< / tr >
< tr >
2017-03-19 04:30:18 +01:00
< td class = "preserve_spaces" > ```python
2017-12-13 02:45:43 +01:00
def zulip():
print "Zulip"
2013-11-26 19:56:13 +01:00
```< / td >
2017-02-28 04:44:31 +01:00
< td >
< div class = "codehilite" > < pre > < span class = "k" > def< / span > < span class = "nf" > zulip< / span > < span class = "p" > ():< / span >
2017-02-21 20:44:43 +01:00
< span class = "k" > print< / span > < span class = "s" > "Zulip"< / span > < / pre > < / div >
2017-02-28 04:44:31 +01:00
< / td >
< / tr >
< tr >
2017-03-19 04:30:18 +01:00
< td colspan = "2" > {% trans %}To add syntax highlighting to a multi-line code block,
add the language's < b > first< / b > < a target = "_blank" href = "http://pygments.org/docs/lexers/" > Pygments short name< / a >
after the first set of back-ticks.
You can also make a code block by indenting each line with 4 spaces.{% endtrans %}< / td >
2017-02-28 04:44:31 +01:00
< / tr >
< tr >
< td > > Quoted< / td >
< td > < blockquote > Quoted< / blockquote > < / td >
2013-12-11 17:24:10 +01:00
2017-02-28 04:44:31 +01:00
< / tr >
< tr >
2017-04-21 23:40:38 +02:00
< td class = "preserve_spaces" > ```quote
2013-12-11 17:24:10 +01:00
Quoted block
```< / td >
2017-02-28 04:44:31 +01:00
< td > < blockquote > < p > Quoted block< / p > < / blockquote > < / td >
< / tr >
2017-04-21 23:38:47 +02:00
< tr >
2017-11-03 10:15:14 +01:00
< td > Some inline math $$ e^{i \pi } + 1 = 0 $$< / td >
2017-04-21 23:38:47 +02:00
< td >
2018-02-04 22:15:00 +01:00
Some inline math < span class = "katex" > < span class = "katex-mathml" > < math > < semantics > < mrow > < msup > < mi > e< / mi > < mrow > < mi > i< / mi > < mi > π< / mi > < / mrow > < / msup > < mo > +< / mo > < mn > 1< / mn > < mo > =< / mo > < mn > 0< / mn > < / mrow > < annotation encoding = "application/x-tex" > e^{i\pi} + 1 = 0< / annotation > < / semantics > < / math > < / span > < span class = "katex-html" aria-hidden = "true" > < span class = "strut" style = "height: 0.874664em;" > < / span > < span class = "strut bottom" style = "height: 0.957994em; vertical-align: -0.08333em;" > < / span > < span class = "base" > < span class = "mord" > < span class = "mord mathit" > e< / span > < span class = "msupsub" > < span class = "vlist-t" > < span class = "vlist-r" > < span class = "vlist" style = "height: 0.874664em;" > < span class = "" style = "top: -3.113em; margin-right: 0.05em;" > < span class = "pstrut" style = "height: 2.7em;" > < / span > < span class = "sizing reset-size6 size3 mtight" > < span class = "mord mtight" > < span class = "mord mathit mtight" > i< / span > < span class = "mord mathit mtight" style = "margin-right: 0.03588em;" > π< / span > < / span > < / span > < / span > < / span > < / span > < / span > < / span > < / span > < span class = "mbin" > +< / span > < span class = "mord mathrm" > 1< / span > < span class = "mrel" > =< / span > < span class = "mord mathrm" > 0< / span > < / span > < / span > < / span >
2017-04-21 23:38:47 +02:00
< / td >
< / tr >
< tr >
< td class = "preserve_spaces" > ```math
\int_{0}^{1} f(x) dx
```< / td >
< td >
2018-02-04 22:15:00 +01:00
< span class = "katex-display" > < span class = "katex" > < span class = "katex-mathml" > < math > < semantics > < mrow > < msubsup > < mo > ∫< / mo > < mn > 0< / mn > < mn > 1< / mn > < / msubsup > < mi > f< / mi > < mo > (< / mo > < mi > x< / mi > < mo > )< / mo > < mi > d< / mi > < mi > x< / mi > < / mrow > < annotation encoding = "application/x-tex" > \int_{0}^{1} f(x) dx< / annotation > < / semantics > < / math > < / span > < span class = "katex-html" aria-hidden = "true" > < span class = "strut" style = "height: 1.56401em;" > < / span > < span class = "strut bottom" style = "height: 2.47596em; vertical-align: -0.91195em;" > < / span > < span class = "base" > < span class = "mop" > < span class = "mop op-symbol large-op" style = "margin-right: 0.44445em; position: relative; top: -0.001125em;" > ∫< / span > < span class = "msupsub" > < span class = "vlist-t vlist-t2" > < span class = "vlist-r" > < span class = "vlist" style = "height: 1.56401em;" > < span class = "" style = "top: -1.78805em; margin-left: -0.44445em; margin-right: 0.05em;" > < span class = "pstrut" style = "height: 2.7em;" > < / span > < span class = "sizing reset-size6 size3 mtight" > < span class = "mord mtight" > < span class = "mord mathrm mtight" > 0< / span > < / span > < / span > < / span > < span class = "" style = "top: -3.8129em; margin-right: 0.05em;" > < span class = "pstrut" style = "height: 2.7em;" > < / span > < span class = "sizing reset-size6 size3 mtight" > < span class = "mord mtight" > < span class = "mord mathrm mtight" > 1< / span > < / span > < / span > < / span > < / span > < span class = "vlist-s" > < / span > < / span > < span class = "vlist-r" > < span class = "vlist" style = "height: 0.91195em;" > < / span > < / span > < / span > < / span > < / span > < span class = "mord mathit" style = "margin-right: 0.10764em;" > f< / span > < span class = "mopen" > (< / span > < span class = "mord mathit" > x< / span > < span class = "mclose" > )< / span > < span class = "mord mathit" > d< / span > < span class = "mord mathit" > x< / span > < / span > < / span > < / span > < / span >
2017-04-21 23:38:47 +02:00
< / td >
< / tr >
2017-02-28 04:44:31 +01:00
< tr >
< td colspan = "2" > {% trans %}You can also make < a target = "_blank"
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
2017-03-09 13:04:10 +01:00
table syntax< / a > .{% endtrans %}< / td >
2017-02-28 04:44:31 +01:00
< / tr >
< / tbody >
< / table >
< / div >
2017-04-14 05:08:52 +02:00
< hr / >
< a href = "/help/format-your-message-using-markdown" target = "_blank" > Detailed message formatting documentation< / a >
2012-11-02 22:29:13 +01:00
< / div >
< / div >