Stackedit/public/res/html/buttonMarkdownSyntax.html

147 lines
2.5 KiB
HTML
Raw Permalink Normal View History

2014-07-13 21:45:55 +00:00
<button class="btn btn-success 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">
<h3>Markdown syntax</h3>
2014-03-10 23:55:01 +00:00
<hr>
2013-06-24 19:47:27 +00:00
<div class="markdown-syntax">
2013-06-20 22:28:49 +00:00
<h4>Phrase Emphasis</h4>
<pre><code>*italic* **bold**
_italic_ __bold__
</code></pre>
<h4>Links</h4>
<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>
<h4>Images</h4>
<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>
<h4>Headers</h4>
<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>
<h4>Lists</h4>
<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>
<h4>Blockquotes</h4>
<pre><code>&gt; Email-style angle brackets
&gt; are used for blockquotes.
&gt; &gt; And, they can be nested.
&gt; #### Headers in blockquotes
2014-04-20 01:13:43 +00:00
&gt;
2013-06-20 22:28:49 +00:00
&gt; * You can quote a list.
&gt; * Etc.
</code></pre>
<h4>Code Spans</h4>
<pre><code>`&lt;code&gt;` spans are delimited
by backticks.
You can include literal backticks
like `` `this` ``.
</code></pre>
<h4>Preformatted Code Blocks</h4>
<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>
<h4>Horizontal Rules</h4>
<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>
<h4>Manual Line Breaks</h4>
<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>