Download pdf - Markdown4

Transcript
Page 1: Markdown4

packetlife.net

by Jeremy Stretch v2.0

MARKDOWNHeaders

# Text <h1>Text</h1>

## Text <h2>Text</h2>

### Text <h3>Text</h3>

#### Text <h4>Text</h4>

##### Text <h5>Text</h5>

###### Text <h6>Text</h6>

Blockquotes

> Lorem ipsum> dolor sit amet

<blockquote><p>Lorem ipsum dolor sit amet</p></blockquote>

> Lorem ipsum dolorsit amet

<blockquote><p>Lorem ipsum dolor sit amet</p></blockquote>

> Level one>> > Level two> >> > > Level three

<blockquote><p>Level one</p><blockquote><p>Level two</p><blockquote><p>Level three</p></blockquote>

</blockquote></blockquote>

Lists

* Sizes* Shapes* Colors

* Blue* Green

<ul><li>Sizes</li><li>Shapes</li><li>Colors<ul><li>Blue</li><li>Green</li>

</ul></li></ul>

1. First2. Second3. Third

1. Alpha2. Bravo

<ol><li>First</li><li>Second</li><li>Third<ol><li>Alpha</li><li>Bravo</li>

</ol></li></ol>

Code Blocks

Normal text

#include <stdio.h>

<p>Normal text</p><pre><code>#include &lt;stdio.h&gt;</code></pre>

Inline Code

Use `<div>` tags Use <code>&lt;div&gt;</code> tags

``echo `uname -a``` <code>echo `uname -a`</code>

Horizontal Rules

* * * <hr />

*** <hr />

- - - <hr />

--- <hr />

Emphasis

*Emphasis* <em>Emphasis</em>

_Emphasis_ <em>Emphasis</em>

**Strong** <strong>Strong</strong>

__Strong__ <strong>Strong</strong>

*Super*emphasis <em>Super</em>emphasis

**Super**strong <strong>Super</strong>strong

Escapable Characters

\ Backslash

` Backtick

*

_

{ }

[ ]

Asterisk

Underscore

Curly braces

Square brackets

( ) Parantheses

# Hash mark

+

-

.

!

Plus sign

Hyphen

Period

Exclamation

Links

[Google](http://google.com/) <a href="http://google.com/">Google</a>

[Google](http://google.com/ "Search") <a href="http://google.com/" title="Search">Google</a>

[google]: http://google.com/ "Search"[Google][google]

<a href="http://google.com/" title="Search">Google</a>

<http://google.com> <a href="http://google.com/">http://google.com</a>

Images

![Alt text](/path/to/img.jpg) <img src="/path/to/img.jpg" alt="Alt text"/>

![Alt text](/path/to/img.jpg "Title") <img src="/path/to/img.jpg" alt="Alt text" title="Title"/>

[img1]: /path/to/img.jpg "Title"![Alt text][img1]

<img src="/path/to/img.jpg" alt="Alt text" title="Title"/>

Markdown is available at http://daringfireball.net/projects/markdown/