Markdown语法练习

链接

[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
  • Unordered sub-list
  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 text
alt 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.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容