markdown

作者: 繁华落尽2018 | 来源:发表于2017-01-13 11:51 被阅读3次

    引导语:

    学习随笔,简单记录而已,方便快速查看语法,不做过多阐述

    1. 标题

    标题只有六级

    语法:

    # 一级标题
    ## 二级标题
    ### 三级标题
    #### 四级标题
    ##### 五级标题
    ###### 六级标题
    

    预览:

    一级标题

    二级标题

    三级标题

    四级标题

    五级标题
    六级标题

    2. 加粗、斜体

    语法:

    哈哈 普通
    **哈哈** 加粗
    *哈哈* 斜体
    ***哈哈*** 加粗斜体
    

    预览:
    哈哈
    哈哈
    哈哈
    哈哈

    3. 段落

    语法:

    1.  第一节
    * 第二节(不用2.0会自动加1)
      * 第一小节
         * 小小节
      * 第二小节
    * 第三节
    

    预览:

    第一节

    1. 第二节
    • 第二节
      • 第一小节
        • 小小节
      • 第二小节
    • 第三节

    4. 分割线

    语法:

    ---
    

    预览:


    5. 链接、图片

    鼠标滑过时自动提示,中文显示乱码,文本编码不知怎么设置暂时,图片链接也不可以点击

    语法:

    链接:
    [百度](https://www.baidu.com) 
    有提示的链接:
    **P.S.** 补充一种高端的链接:[鼠标移动过来,**先别点击有提示**][hover]
    [hover]:http://www.google.com.sg "google sg 更快 更好用"
    图片链接:(简书暂不支持)
    **P.P.S.** 图片链接:(点击图片可跳转)
    
    [![点击图片跳转][jane-eyre-pic]][jane-eyre-douban]
    [jane-eyre-pic]: https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/logo_white_fe6da1ec.png
    [jane-eyre-douban]: https://www.baidu.com
    
    图片:
    ![百度图片显示](https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/logo_white_fe6da1ec.png)
    

    预览:
    百度
    P.S. 补充一种高端的链接:[鼠标移动过来,先别点击][hover]
    [hover]:http://www.google.com.sg "google sg 更快 更好用"
    P.P.S. 图片链接:(点击图片可跳转)
    [![点击图片跳转][jane-eyre-pic]][jane-eyre-douban]
    [jane-eyre-pic]: https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/logo_white_fe6da1ec.png
    [jane-eyre-douban]: https://www.baidu.com
    图片:

    百度图片显示百度图片显示

    6. 代码框

    语法:

    ```
    asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
    ```
    

    预览:

    asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
    

    7. 引用

    语法:

    > 这是一段引用
    

    预览:

    这是一段引用

    8. 表格

    语法:

    | Tables        | Are           | Cool  |
    | ------------- |:-------------:| -----:|
    | col 3 is      | right-aligned | $1600 |
    | col 2 is      | centered      |   $12 |
    | zebra stripes | are neat      |    $1 |
    

    预览:

    Tables Are Cool
    col 3 is right-aligned $1600
    col 2 is centered $12
    zebra stripes are neat $1

    9. 行内代码

    语法:

    `
    asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
    `
    

    预览:
    asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf

    相关文章

      网友评论

          本文标题:markdown

          本文链接:https://www.haomeiwen.com/subject/datsbttx.html