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 <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

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

image

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容