天天看点

Markdown

# head1 

## head2 

……

###### head6

> this is a blockquote. 

> continuing...... 

> 

> this is the second paragraph in the blockquote. 

> ## this is an h2 in a blockquote

Markdown

可以看到除非, 显示的增加空行, 否则是不会换行的

(gfm) github, 这里做了改进, 等同于一般的书写习惯, 默认换行  增加空行, 就会实际添加空行
Markdown

_good_, *good*, 斜体 

__man__, **good**, 加粗

对于多个连续_自动忽略, 不会做斜体处理  因为很多变量名都是
strikethrough gfm adds syntax to strikethrough text, which is missing from standard markdown.

becomes mistaken text.

无序列表,*,+,-,任一种都可以

有序的列表

gfm will autolink standard urls, so if you want to link to a url (instead of setting link text)

两种方式,

反引号, 注意不是一般的引号,

区块, 每行缩进 4 个空格或是一个 tab, 该区块会默认被认为是代码

每行增加4空格或tab, 很麻烦, gfm提高``` …… ```, 来标注代码段

- [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported 

- [x] list syntax required (any unordered or ordered list supported) 

- [x] this is a complete item 

- [ ] this is an incomplete item

Markdown

1. 在github上选中一段文字, 然后按'r' 

会自动跳转到comment, 并将之前选中的这段文字copy作为quoting

2. 输入@, 会自动的bring up a list of people or teams on a project

3. 输入:, 自动弹出表情list, :dog会是小狗...

4. 输入<code>#, 会自动弹出</code>list of issue and pull request suggestions

本文章摘自博客园,原文发布日期:2013-08-13