2013-12-25 22:14:23 +00:00
< button class = "btn btn-info dropdown-toggle button-markdown-syntax" title = "Markdown syntax" data-toggle = "dropdown" >
2013-08-08 22:29:49 +00:00
< i class = "icon-help-circled" > < / i >
< / button >
2013-06-20 22:28:49 +00:00
< div class = "dropdown-menu pull-right" >
2014-05-06 21:57:44 +00:00
< h2 > Markdown syntax< / h2 >
2014-03-10 23:55:01 +00:00
< hr >
2013-06-24 19:47:27 +00:00
< div class = "markdown-syntax" >
2014-05-06 21:57:44 +00:00
< h3 > Phrase Emphasis< / h3 >
2013-06-20 22:28:49 +00:00
< pre > < code > *italic* **bold**
_italic_ __bold__
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Links< / h3 >
2013-06-20 22:28:49 +00:00
< p > Inline:< / p >
< pre > < code > An [example](http://url.com/ "Title")
< / code > < / pre >
< p > Reference-style labels (titles are optional):< / p >
< pre > < code > An [example][id]. Then, anywhere
else in the doc, define the link:
[id]: http://example.com/ "Title"
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Images< / h3 >
2013-06-20 22:28:49 +00:00
< p > Inline (titles are optional):< / p >
< pre > < code > ![alt text](/path/img.jpg "Title")
< / code > < / pre >
< p > Reference-style:< / p >
< pre > < code > ![alt text][id]
[id]: /url/to/img.jpg "Title"
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Headers< / h3 >
2013-06-20 22:28:49 +00:00
< p > Setext-style:< / p >
< pre > < code > Header 1
========
Header 2
--------
< / code > < / pre >
< p > atx-style (closing #'s are optional):< / p >
< pre > < code > # Header 1 #
## Header 2 ##
###### Header 6
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Lists< / h3 >
2013-06-20 22:28:49 +00:00
< p > Ordered, without paragraphs:< / p >
< pre > < code > 1. Foo
2. Bar
< / code > < / pre >
< p > Unordered, with paragraphs:< / p >
< pre > < code > * A list item.
With multiple paragraphs.
* Bar
< / code > < / pre >
< p > You can nest them:< / p >
< pre > < code > * Abacus
* answer
* Bubbles
1. bunk
2. bupkis
* BELITTLER
3. burper
* Cunning
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Blockquotes< / h3 >
2013-06-20 22:28:49 +00:00
< pre > < code > > Email-style angle brackets
> are used for blockquotes.
> > And, they can be nested.
> #### Headers in blockquotes
2014-04-20 01:13:43 +00:00
>
2013-06-20 22:28:49 +00:00
> * You can quote a list.
> * Etc.
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Code Spans< / h3 >
2013-06-20 22:28:49 +00:00
< pre > < code > `< code> ` spans are delimited
by backticks.
You can include literal backticks
like `` `this` ``.
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Preformatted Code Blocks< / h3 >
2013-06-20 22:28:49 +00:00
< p > Indent every line of a code block by at least 4 spaces or 1 tab.< / p >
< pre > < code > This is a normal paragraph.
This is a preformatted
code block.
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Horizontal Rules< / h3 >
2013-06-20 22:28:49 +00:00
< p > Three or more dashes or asterisks:< / p >
< pre > < code > ---
* * *
2014-04-20 01:13:43 +00:00
- - - -
2013-06-20 22:28:49 +00:00
< / code > < / pre >
2014-05-06 21:57:44 +00:00
< h3 > Manual Line Breaks< / h3 >
2013-06-20 22:28:49 +00:00
< p > End a line with two or more spaces:< / p >
2014-04-20 01:13:43 +00:00
< pre > < code > Roses are red,
2013-06-20 22:28:49 +00:00
Violets are blue.
< / code > < / pre >
2013-08-22 19:10:57 +00:00
< blockquote > Based on the < a target = "_blank" href = "https://github.com/fletcher/MultiMarkdown/blob/master/Documentation/Markdown%20Syntax.md" > Markdown syntax guide< / a > , by Fletcher T. Penney.< / blockquote >
2013-06-20 22:28:49 +00:00
< / div >
2014-03-10 23:55:01 +00:00
< hr >
2013-06-20 22:28:49 +00:00
< / div >