MarkDown人生初体验

提交了才发现,原来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
  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

4 任务框

  • [x] @mentions, #refs, links, formatting, and tags 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

tag will be shown tag


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 here


11 引用

little things lead to big things


12 代码块

代码块

13 链接

[name](http://baidu.com) 表示一个超链接name

![image](http://upload-images.jianshu.io/upload_images/1679305-64b581ef22528d20.jpeg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 表示这是一个图片

MarkDown人生初体验_第1张图片
image

你可能感兴趣的:(MarkDown人生初体验)