January
6th,
2016
Markdown is a superset of HTML, so any HTML file is a valid Markdown.
Headings
This is an h1
This is an h2
This is an h3
This is an h4
This is an h5
This is an h6
This is an h1
This is an h2
Text styles
This text is in italics.
And so is this text
This text is in bold
And so is this text
This text is in both.
This text is rendered with strikethrough.
monospace
Paragraphs
This is a paragraph.
Now I’m in paragraph 2. I’m still in paragraph 2 too!
I’m in paragraph three!
Leave 2 spaces at the end of a line to to a
line break
This is a block quote. You can
manually wrap your lines and put a
>
before every line. You can also use more than one levelof indentation. How neat is that?
Lists
Unordered lists
- Item1
- Item2
- Item3
or
- Item1
- Item2
- Item3
or
- Item1
- Item2
- Item3
Ordered lists
- Item1
- Sub1
- Sub2
- Sub3
- Item2
- Item3
Code blocks
You can indicate a code block by indenting a line with four spaces or a tab.
-module(test).
-export([test/0]).
test() ->
io:format("Hello World!~n").
json code block, use ```
{
"data": {
"uid": 4097
}
}
tables
Mac 快捷键 | Win 快捷键 | 作用 | 备注 |
---|---|---|---|
Cmd + ← | Fn + ← | 将光标定位到当前行的最左侧 | 很常用 |
Cmd + → | Fn + → | 将光标定位到当前行的最右侧 | 很常用 |
Cmd + ↑ | Ctrl + Home | 将光标定位到文章的第一行 | |
Cmd + ↓ | Ctrl + End | 将光标定位到文章的最后一行 |