Please enable JavaScript to view the comments powered by Disqus.

Markdown语法测试

看看 Markdown 的效果

标题

1
2
This is an H1
=============

This is an H1

1
2
This is an H2
-------------

This is an H2

1
# 这是 H1

这是 H1

1
## 这是 H2

这是 H2

1
###### 这是 H6
这是 H6

1
2
> 这是引用
> > 这是引用中的引用

这是引用

这是引用中的引用

列表

这是无序列表

1
2
3
*  Red
* Green
* Blue
  • Red
  • Green
  • Blue

这是有序列表

1
2
3
1. C
2. C++
3. C#
  1. C
  2. C++
  3. C#

包含段落的项目列表

1
2
3
4
5
6
7
8
9
1.  This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.

Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.

2. Suspendisse id sem consectetuer libero luctus adipiscing.
  1. This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.

  2. Suspendisse id sem consectetuer libero luctus adipiscing.

网址链接

1
2
3
4
5
6
7
8
9
指向[百度](https://www.baidu.com)的链接

这是一个参考式的[链接][1]

[1]: https://www.google.com

或者使用链接名称的方式 [Yahoo][]

[yahoo]: http://search.yahoo.com "Yahoo Search"

指向百度的链接

这是一个参考式的链接

或者使用链接名称的方式 Yahoo

强调

1
2
*斜体*
**加粗**

斜体 加粗

代码

在一段文字当中插入代码要printf();这样 直接写要

1
scanf();
scanf();

这样

代码块的测试

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
```C
#include <stdio.h>

int main(void){
return 0;
}
```

```
#include <iostream>

using std::cout;
using std::endl;

int main(){
cout<<"Hello, world!"<<endl;
return 0;
}
```
1
2
3
4
5
#include <stdio.h>

int main(void){
return 0;
}
1
2
3
4
5
6
7
8
9
#include <iostream>

using std::cout;
using std::endl;

int main(){
cout<<"Hello, world!"<<endl;
return 0;
}

表格

1
2
3
4
5
6
7
8
9
| Name | Description          |
| ------------- | ----------- |
| Help | ~~Display the~~ help window.|
| Close | _Closes_ a window |

| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
NameDescription
HelpDisplay the help window.
CloseCloses a window
First HeaderSecond Header
Content CellContent Cell
Content CellContent Cell

MathJax的测试

1
$a = b + c$

$a = b + c$

Footnote

1
2
3
4
5
6
Some long sentence.[^1]

Another long sentence.[^2]

[^1]: Test, [Link](https://google.com).
[^2]: Another test, [Link](https://www.baidu.com) This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

Some long sentence.[1]

Another long sentence.[2]


  1. Test, Link.

  2. Another test, Link This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

作者:Dr. A. Clef
发布日期:2015-12-02
修改日期:2017-06-10
发布协议: BY-SA