0%

HelloWorld

First blog

Hello, this is my blog powered by Alibaba Cloud.

1
print("Hello world")

Markdown syntax example


标题

标题以 #开头+空格,几级标题就写几个#

1
2
3
4
5
6
# This is title one
## This is title two
### This is title three
#### This is title four
##### This is title five
###### This is title six

效果如下:

This is title one

This is title two

This is title three

This is title four

This is title five
This is title six

引用

引用的文字以>开头+空格,可以嵌套引用:

1
> This is a ref

效果如下:

This is a ref


无序列表

1
2
3
- red
- green
- blue

效果如下:

  • red
  • green
  • blue

有序列表

1
2
3
1. orderd list
2. orderd list
3. orderd list

效果如下:

  1. orderd list
  2. orderd list
  3. orderd list

TODO List

1
2
- [ ] TODO
- [x] Done

效果如下:

  • [ ] TODO
  • [x] Done

代码

  1. 嵌入Python代码:
1
2
3
4
    ```python
import numpy as np
print('Hello world.')
```

效果如下:

1
2
import numpy as np
print('Hello world.')

  1. 嵌入C++代码:
1
2
3
4
5
6
7
8
    ```c++
#include <stdio.h>

int main() {
printf("Hello world\n");
return 0;
}
```

效果如下:

1
2
3
4
5
6
#include <stdio.h>

int main() {
printf("Hello world\n");
return 0;
}


强调

  1. 加粗:
1
**coding makes me happy**

效果如下:
coding makes me happy

  1. 斜体:
1
*coding makes me happy*

效果如下:
coding makes me happy


链接

1
[This is a link to Taobao](http://www.taobao.com)

This is a link to Taobao


插入图片

1
![Here is Image](/path/to/image.png)

Here is Image