提交了才發(fā)現(xiàn)抹沪,原來github中使用的markdown語法纵菌,與簡書中的markdown語法洋闽,并不是完全兼容玄柠。
1 標題
根據(jù)項目中的提示,學習并掌握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 任務(wù)框
- [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 將會自動轉(zhuǎn)換為一個link 指向github提交
16c999e8c71134401a78d4d46435517b2271d6ac
mojombo@16c999e8c71134401a78d4d46435517b2271d6ac
mojombo/github-flavored-markdown@16c999e8c71134401a78d4d46435517b2271d6ac
6 問題
本項目中的issue或者pull request 前面的索引,也會自動轉(zhuǎn)化
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

表示這是一個圖片