标题一

引用

引用内容
  • 无序列表 1
  • 无序列表 2
  • 无序列表 3
  1. 有序列表 1
  2. 有序列表 2
  3. 有序列表 3

基本代码块:

1
2
3
4
5
6
7
8
#include <iostream>

using namespace std;

int main() {
cout << "Hello My Blog! 你好,我的博客";
return 0;
}

标题二

长代码块

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";
cout << "Hello";

宽代码块

1
cout << "Hello"; cout << "Hello"; cout << "Hello"; cout << "Hello"; cout << "Hello"; cout << "Hello"; cout << "Hello"; cout << "Hello";

复合代码块

以 Hello World 为例,不同语言的代码风格:

1
2
3
4
5
6
7
8
#include <iostream>

using namespace std;

int main() {
cout << "Hello World1!";
return 0;
}
1
2
3
4
5
public class Main {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
1
consle.log("Hello World!");
1
print("Hello World!")

Echarts