aboutsummaryrefslogtreecommitdiff
path: root/_posts/2014-2-2-Markdown-Cheatsheet.md
blob: 59c70ef1014e3376640d17ed8485ee4677fcbd60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
layout: post
title: Markdown Style Guide
---

A demo of all styled markdown elements in Jekyll Boilerplate. 

This is a paragraph, it's surrounded by whitespace. Next up are some headers, they're heavily influenced by GitHub's markdown style.

## Header 2 (H1 is reserved for post titles)##
### Header 3 ###
#### Header 4 ####
##### Header 5 #####
 
A link to [Jekyll Boilerplate](http://github.com/barryclark/jekyll-boilerplate/). A big ass literal link <http://github.com/barryclark/jekyll-boilerplate/>
  
An image, located within /images

![an image alt text](/images/omg-code.jpg "an image title")

* A bulletted list
- alternative syntax 1
+ alternative syntax 2
  - an indented list item
 
1. An
2. ordered
3. list

Inline markup styles: 

- _italics_
- **bold**
- `code()` 
 
> Blockquote
>> Nested Blockquote 
 
Code:
 
    // Code is just text indented a bit
    which(is_easy) to_remember();
 
~~~
 
// Markdown extra adds un-indented code blocks too
 
if (this_is_more_code == true && !indented) {
    // tild wrapped code blocks, also not indented
}
 
~~~
 
Use two trailing spaces  
on the right  
to create linebreak tags  
 
Finally, horizontal lines
 
----
****

Enjoy!