Headers

# This is an <h2> tag
## This is an <h3> tag
###### This is an <h6> tag

This is an <h2> tag

This is an <h3> tag

This is an <h6> tag

Emphasis

*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

_You **can** combine them_

This text will be italic
This will also be italic

This text will be bold
This will also be bold

You can combine them

Lists

Unordered

* Item 1
* Item 2
  * Item 2a
  * Item 2b
  • Item 1
  • Item 2
    • Item 2a
    • Item 2b

Ordered

1. Item 1
1. Item 2
1. Item 3
   1. Item 3a
   1. Item 3b
  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

Images

![GitHub Logo](https://assets-cdn.github.com/images/modules/open_graph/github-mark.png)
Format: ![Alt Text](url)

GitHub Logo

Links

http://github.com - automatic!
[GitHub](http://github.com)

http://github.com – automatic!
GitHub

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.

As Kanye West said:

We’re living the future so
the present is our past.

Inline code

I think you should use an
`<addr>` element here instead.

I think you should use an
<addr> element here instead.

Code syntax highlighting

 ``` javascript
if (isAwesome){
  return true
}
```

下面是使用了Google-pretty插件后的效果

if (isAwesome){
  return true
}

下面是Github的效果图

Tables

You can create tables by assembling a list of words and dividing them with hyphens -(for the first row), and then separating each column with a pipe |:

First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
First Header Second Header
Content from cell 1 Content from cell 2
Content in the first column Content in the second column

原文链接:Mastering Markdown · GitHub Guides
推荐文章:Markdown Tutorial
推荐软件:Typora

Leave a Reply

Your email address will not be published. Required fields are marked *