提交了才发现,原来github中使用的markdown语法,与简书中的markdown语法,并不是完全兼容。
1 标题
根据项目中的提示,学习并掌握markdown的基本用法。
2 粗斜体
需要注意#与标题之中要有一个空格,不然就无法正确显示黑色粗体
*斜体*
这样是斜体,用这种表示也可以_斜体_
,斜体
**粗体**
这样是粗体,用这种表示也可以__粗体__
,粗体
3 排序
* Item 1
* Item 2
* Item 2a
* Item 2b
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
展示的效果如下:
- Item 1
- Item 2
- Item 2a
- Item 2b
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
4 任务框
- [x] @mentions, #refs, links, formatting, and <del>tags</del> supported
- [x] list syntax required (any unordered or ordered list supported)
- [x] this is a complete item
- [ ] this is an incomplete item
5 提交
本项目中的commit SHA-1 hash 将会自动转换为一个link 指向github提交
16c999e8c71134401a78d4d46435517b2271d6ac
mojombo@16c999e8c71134401a78d4d46435517b2271d6ac
mojombo/github-flavored-markdown@16c999e8c71134401a78d4d46435517b2271d6ac
6 问题
本项目中的issue或者pull request 前面的索引,也会自动转化
1
mojombo#1
mojombo/github-flavored-markdown#1
7 删除线
~~this~~
will be shown this
<del>tag</del>
will be shown <del>tag</del>
8 表情
:blush:
will be shon :blush:
:smirk:
will be shon :smirk:
:heart_eyes:
will be shon :heart_eyes:
:joy:
will be shon :joy:
:scream:
will be shon :scream:
:+1:
will be shon :+1:
:v:
will be shon :v:
可以在这个页面中查看more
9 表格
First Header | Second Header |
---|---|
Content from cell 1 | Content from cell 2 |
Content in the first column | Content in the second column |
10 语句中添加代码
i think you should use an <addr>
here
11 引用
little things lead to big things
12 代码块
代码块
13 链接
[name](http://baidu.com)
表示一个超链接name

表示这是一个图片