Markdown Cheatsheet

Language: English
Available format:PDF

Markdown is a very handy way of producing content for the web without having to write HTML. It allows you to write text using it’s very simple syntax and then converts it to structurally valid HTML.

If you’re looking to use the Markdown syntax for your web documents, we have created a cheatsheet that can help you learn and understand the syntax. While there are many flavors of Markdown, this list contains all the syntax of the core Markdown spec and some supported by Github Flavoured Markdown.

MarkdownHTML
Plain Text
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, accusantium provident necessitatibus corrupti culpa cum? Culpa, aspernatur vel perferendis doloremque facere reiciendis illum eaque laborum, voluptatum, quos minus omnis dicta.<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, accusantium provident necessitatibus corrupti culpa cum? Culpa, aspernatur vel perferendis doloremque facere reiciendis illum eaque laborum, voluptatum, quos minus omnis dicta.</p>
Headings
# Text<h1>Text</h1>
## Text<h2>Text</h2>
### Text<h3>Text</h3>
#### Text<h4>Text</h4>
##### Text<h5>Text</h5>
###### Text<h6>Text</h6>
Emphasis
**Strong**<strong>Strong</strong>
*Emphasis*<em>Emphasis</em>
~~Strikethrough~~<del>Strikethrough</del>
Links
[MTE](http://maketecheasier.com/)<a href=”http://maketecheasier.com/”>MTE</a>
[MTE](http://maketecheasier.com/ “Search”)<a href=”http://maketecheasier.com/” title=”Search”>MTE</a>
[mte]:http://maketecheasier.com/ “Search”[MTE][mte]<a href=”http://maketecheasier.com/” title=”Search”>MTE</a>
<http://maketecheasier.com><a href=”http://maketecheasier.com”>http://maketecheasier.com</a>
Named Anchors
[Chapter 1](#chapter-1)<a href="#chapter-1">Chapter 1</a>
[Chapter 2](#chapter-2)<a href="#chapter-2"> Chapter 2</a>
[Chapter 3](#chapter-3)<a href="#chapter-3">Chapter 3</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”/>
Tables
| Company | Tagline |
| ------| --------------------------------------|
| Google | Don't be evil |
| Nike | Just do it |
| Reddit | frontpage of the internet |
<table>
<tr>
<th>Company</th>
<th>Tagline</th>
</tr>
<tr> <td>Google</td> <td>be evil </td>
</tr>
<tr>
<td>Nike</td>
<td>Just do it</td>
</tr>
<tr>
<td>Reddit</td>
<td>Frontpage of the Internet</td>
</tr>
</table>
Horizontal Rule
* * *<hr />
- - -<hr />
Inline Code
use `<header>` instead of `<div id="header">`use <code><header></code> instead of <code><div id="header"></code>
Code Blocks
` ` `
section {
float: left;
margin: 0 auto;
}

` ` `
<pre><code>section {
float: left;
margin: 0 auto;
}
</code></pre>
Lists
Unordered List

* Android
* Windows
* Linux
    * Ubuntu
    * Linux Mint
<ul> <li>Android</li>
<li>Windows</li>
<li>Linux
<ul>
<li>Ubuntu</li>
<li>Linux Mint </li>
</ul></li>
</ul>
Ordered List

1. First
2. Second
3. Third
    1. Alpha
    2. Beta
<ol>
    <li>First</li>
    <li>Second</li>
    <li>Third
    <ol>
        <li>Alpha</li>
        <li>Beta</li>
    </ol>
    </li>
</ol>
Blockquotes
> make tech
> easier
<blockquote>
    <p>make tech easier</p>
</blockquote>
> make tech easier<blockquote>
    <<p>make tech easier</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>