/
MDRef.txt
86 lines (69 loc) · 1.54 KB
/
MDRef.txt
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
--MARKDOWN REFERENCE SHEET--
--Emphasis--
*italic* **bold**
_italic_ __bold__
--Links--
Inline:
An [example](http://url.com/ "Title")
References (titles optional):
An [example][id].
Then, anywhere else in the doc, define the link:
[id]: http://example.com/ "Title"
--Images--
Inline (titles are optional):
![alt text](/path/img.jpg "Title")
Reference-style:
![alt text][id]
[id]: /url/to/img.jpg "Title"
--Headers--
Setext-style:
Header 1
========
Header 2
--------
Atx-style (closing #'s are optional):
# Header 1 #
--Lists--
Ordered, without paragraphs:
1. Foo
2. Bar
Unordered, with paragraphs:
* A list item.
With multiple paragraphs.
* Bar
You can nest them:
* Abacus
* ass
* Bastard
1. bitch
2. bupkis
* BELITTLER
3. burper
* Cunning
--Blockquotes--
> Email-style angle brackets
> are used for blockquotes.
> > And, they can be nested.
> >
> * You can quote a list.
> * Etc.
--Code Spans--
`<code>` spans are delimited by backticks.
You can include literal backticks like `` `this` ``.
--Preformatted Code Blocks--
Indent every line of a code block by at least 4 spaces or 1 tab, and use a colon at the end of the preceding paragraph.
This is a normal paragraph:
This is a preformatted
code block.
Preceded by a space, the colon disappears. :
This is a preformatted
code block.
--Horizontal Rules--
Three or more dashes or asterisks:
---
* * *
- - - -
--Manual Line Breaks--
End a line with two or more spaces:
Roses are red,
Violets are blue.