41 |
Markdown
42 |
43 |
44 |
45 |
Markdown is a text formatting syntax inspired on plain text email. In the words of its creator, John Gruber:
46 |
47 |
The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
48 |
49 |
Syntax Guide
50 |
51 |
Strong and Emphasize
52 |
53 |
*emphasize* **strong**
54 | _emphasize_ __strong__
55 |
56 |
57 |
Shortcuts
58 |
59 |
67 |
68 |
69 |
Links
70 |
71 |
Inline links:
72 |
73 |
[link text](http://url.com/ "title")
74 | [link text](http://url.com/)
75 | <http://url.com>
76 |
77 |
78 |
Reference-style links:
79 |
80 |
[link text][id]
81 |
82 | [id]: http://url.com "title"
83 |
84 |
85 |
Shortcuts
86 |
87 |
92 |
93 |
94 |
Images
95 |
96 |
Inline images:
97 |
98 |

99 | 
100 |
101 |
102 |
Reference-style links:
103 |
104 |
![alt text][id]
105 |
106 | [id]: http://path/to/img.jpg "title"
107 |
108 |
109 |
Shortcuts
110 |
111 |
116 |
117 |
118 |
Headers
119 |
120 |
Atx-style headers:
121 |
122 |
# h1
123 | ## h2
124 | ### h3
125 | …
126 |
127 |
128 |
Closing # are optional.
129 |
130 |
# h1 #
131 | ## h2 ##
132 | …
133 |
134 |
135 |
Lists
136 |
137 |
Ordered list without paragraphs:
138 |
139 |
1. foo
140 | 2. bar
141 |
142 |
143 |
Unordered list with paragraphs:
144 |
145 |
* A list item.
146 |
147 | With multiple paragraphs.
148 |
149 | * bar
150 |
151 |
152 |
You can nest them:
153 |
154 |
* Abacus
155 | * anser
156 | * Bubbles
157 | 1. bunk
158 | 2. bupkis
159 | * bar
160 | 3. burper
161 | * Cunning
162 |
163 |
164 |
Shortcuts
165 |
166 |
167 | Add/remove unordered list:
168 |
169 | ⌘-L for Mac / Ctrl-L for Windows and Linux
170 | Add/remove ordered list:
171 |
172 | ⌥-⌘-L for Mac / Alt-Ctrl-L for Windows and Linux
173 |
174 |
175 |
176 |
Blockquotes
177 |
178 |
> Email-style angle brackets
179 | > are used for blockquotes.
180 |
181 | > > And, they can be nested.
182 |
183 | > #### Headers in blockquotes
184 | >
185 | > * You can quote a list.
186 | > * Etc.
187 |
188 |
189 |
Shortcuts
190 |
191 |
196 |
197 |
198 |
Code Spans
199 |
200 |
`<code>` spans are delimited
201 | by backticks.
202 |
203 | You can include literal backticks
204 | like `` `this` ``.
205 |
206 |
207 |
Code Blocks
208 |
209 |
Indent at least 4 spaces or 1 tab.
210 |
211 |
This is a normal paragraph
212 |
213 | this is code block
214 |
215 |
216 |
Horizontal Rules
217 |
218 |
Three or more dashes for asterisks.
219 |
220 |
---
221 |
222 | * * *
223 |
224 | - - - -
225 |
226 |
227 |
Manual Line Breaks
228 |
229 |
End a line with two or more spaces:
230 |
231 |
Roses are red, [space][space]
232 | Violets are blue. [space][space]
233 |
234 |
235 |
236 |
237 |
--------------------------------------------------------------------------------
/docs/markdown.md:
--------------------------------------------------------------------------------
1 | # Markdown
2 |
3 | ----
4 |
5 | Markdown is a text formatting syntax inspired on plain text email. In the words of its creator, [John Gruber][]:
6 |
7 | > The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
8 |
9 | [John Gruber]: http://daringfireball.net/
10 |
11 |
12 | ## Syntax Guide
13 |
14 | ### Strong and Emphasize
15 |
16 | ```
17 | *emphasize* **strong**
18 | _emphasize_ __strong__
19 | ```
20 |
21 | **Shortcuts**
22 |
23 | - Add/remove bold:
24 |
25 | ⌘-B for Mac / Ctrl-B for Windows and Linux
26 |
27 | - Add/remove italic:
28 |
29 | ⌘-I for Mac / Ctrl-I for windows and Linux
30 |
31 |
32 | ### Links
33 |
34 | Inline links:
35 |
36 | ```
37 | [link text](http://url.com/ "title")
38 | [link text](http://url.com/)
39 |