之前有接触过一点markdown,知道能生成好看的排版,只是太懒都不去看不去记那些标签
现在才发现它简单好用得有点伟大
一个在线的Markdown编辑器:https://stackedit.io/editor
1、 标题(#标题文字)
一个井号
两个井号
三个井号
四个井号
五个井号
六个井号
2、加粗(**加粗的文字**)
这里是加粗的文字
3、斜体(*斜体的文字*)
这里是斜体的文字
4、链接([描述](http://xxx.com))
这是个链接
5、无序列表(* 无序列表)(注意星号后面空一格)
- abc
- def
- ghi
6、引用(>引用的文字)
这里是引用的文字
7、空格(可以使用全角空格,它被识别成汉字或者可以用 ;这个符号)
这 里 有 空 格
这 里 也 有 空 格
这几个一般的文字应该就够用了
8、表格
| Item | Value | Qty |
| :-------- | -------- :--: | (冒号控制对齐方式左、右、居中)
| Computer | 1600 USD | 5 |
| Phone | 12 USD | 12 |
| Pipe | 1 USD | 234 |
(表格前需要换行,不知道为什么)
Item | Value | Qty |
---|---|---|
Computer | 1600 USD | 5 |
Phone | 12 USD | 12 |
Pipe | 1 USD | 234 |
9、贴代码 | ||
```语言 | ||
代码 | ||
``` (点是Tab键上面的点) |
#include <stdio.h>
int main() {
printf("hello world!");
return 0;
}