Github-Markdown语法

markdown 语法入门

sunshine


使用markdown心得体会:

  • markdown特别适合写博客,兼容部分html标签,可以高亮显示代码。
  • 语法简单好用,而且可以直接导出pdf。
  • 各种语法组合,可以写出简单优雅的文档,赞!

  1. 我是一个引用

  2. //接下来是C语言代码
    #include <stdio.h>
    
    int main(int argc, char** argv)
    {
        printf("Hello world");
        return 0;
    }
    
  3. 我是 粗体

  4. 我是 斜体

  5. 我是 删除线

  6. 我是 inline codeprintf("hello world!")

  7. 我是超链接:GitHub

  8. 我是图片[外链图片转存失败(img-3Fo2kafm-1565321139260)(https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png “I am a github cat! miao~”)]

  9. 我是ordered

    1. Item 1
    2. Item 2
    3. Item 3
      1. Item 3a
      2. Item 3b
  10. 我是unordered

    • Item 1
    • Item 2
      • Item 2a
      • Item 2b
  11. 我是 taskList

    • coding task
    • running task
    • other task
    • other task
  12. 我是table

    First HeaderSecond Header
    hello
    world
    welcome
    you
    leftcenterright
    helloworldlanguage
    welcome
    you
    c/c++
  13. 我要跳转到 top,我要跳转到 title,我要跳转到c语言代码

  14. code above

<span id='top'></span>
### <span id = 'title'> <center> markdown 语法入门</center> </span>
<p align='right'> sunshine </p> 

---
1. >我是一个引用

1. <span id='code'></span>
    \```c
    //接下来是C语言代码
    #include <stdio.h>
    
    int main(int argc, char** argv)
    {
        printf("Hello world");
        return 0;
    }
   \```

1. 我是 **粗体**
1. 我是 *斜体* 
1. 我是 ~~删除线~~
1. 我是 `inline code`,`printf("hello world!")`
1. 我是超链接:[GitHub](http://github.com "press me")
1. 我是图片![picture](https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png "I am a github cat! miao~")
1. 我是`ordered`:
    1. Item 1
    1. Item 2
    1. Item 3
        1. Item 3a
        1. Item 3b
1. 我是`unordered`
    
    * Item 1
    * Item 2
        * Item 2a
        * Item 2b

1. 我是 `taskList`

    - [x] coding task
    - [x] running task
    - [ ] other task
    - [ ] other task
1. 我是`table`
    First Header | Second Header
    ------------ | -------------
    <center>hello</center>| world
    **welcome** | <center>*you*<center>

      left  | center | right
    :--- | :---:|---:
    hello| world | language
    **welcome** | <center>*you*<center> | c/c++
1. 我要跳转到 [top](#top),我要跳转到 [title](#title),我要跳转到[c语言代码](#code)
<span id='end'> </span>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值