Markdown语法练习

2016-12-23  本文已影响0人  留一瓢

链接

[baidu]:http://www.baidu.com
[百度][baidu]
[Google](https://www.google.com)

百度
Google

强调

|1|2|3||
|:---|:---:|---:||
|*asterisks*|_**asterisks**_|__underscores__|~~scratch~~|

|1|2|3||
|:---|:---:|---:||
|asterisks|asterisks|underscores|scratch|

列表

1. first ordered list item
2. another item
  * Unordered sub-list
1. Actual numbers don't matter,just that it's a number
  1. Ordered sub-list
5. And another item
  1. first ordered list item
  2. another item
  1. Actual numbers don't matter,just that it's a number
  2. Ordered sub-list
  3. And another item

图片

![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png)
![ref model][logo]
[logo]:https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png
alt textalt text
![ref model][logo]
[logo]:https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png

代码与语法高亮

Inline `code`
```javascript
//javascript code test
function test(){
  console.log(1111)
}
```

```python
#python code test
import time
print time.time()
```

Inline code

//javascript code test
function test(){
  console.log(1111)
}
#python code test
import time
print time.time()

表格

|tables |are| cool|
|:---|:---:|---:|
|1|2|3
tables are cool
1 2 3

块引用

>Blockquotes are very handy in email to emulate reply text.
>This line is part of the same quote

Quote break

>This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote. 

Blockquotes are very handy in email to emulate reply text.
This line is part of the same quote

Quote break

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

分割线

Three or more...

---
Hyphens

***

Asterisks

___
Underscores

Three or more...


Hyphens


Asterisks


Underscores

Line Breaks

Here's a line for us to start with.

This line is separated from the one above by two newlines,so it will be a *separate paragraph*.

This line is  also a separate paragraph,but...
This line is only separated by a single newline,so it's a separate line in the *same paragraph*.

Here's a line for us to start with.

This line is separated from the one above by two newlines,so it will be a separate paragraph.

This line is also a separate paragraph,but...
This line is only separated by a single newline,so it's a separate line in the same paragraph.

上一篇下一篇

猜你喜欢

热点阅读