zoukankan      html  css  js  c++  java
  • MD语法

    md 语法

    标题

    # H1
    ## H2
    ### H3
    #### H4
    ##### H5
    ###### H6
    

    段落

    用空行分隔

    强调

    *斜体*
    _斜体_
    

    Emphasis, aka italics, with asterisks or underscores.

    **加粗**
    __加粗__
    

    Strong emphasis, aka bold, with asterisks or underscores.

    Combined emphasis with asterisks and underscores.

    ~~删除线~~
    

    Strikethrough uses two tildes. Scratch this.

    列表

    1. First ordered list item
    2. Another item
    
    1. First ordered list item
    2. Another item
    Unordered list can use asterisks
    - Or minuses
    + Or pluses
    
    • Unordered list can use asterisks
    • Or minuses
    • Or pluses

    链接

    [I'm an inline-style link](https://www.google.com)
    
    [I'm an inline-style link with title](https://www.google.com "Google's Homepage")
    
    [I'm a reference-style link][Arbitrary case-insensitive reference text]
    
    [I'm a relative reference to a repository file](../blob/master/LICENSE)
    
    [You can use numbers for reference-style link definitions][1]
    
    Or leave it empty and use the [link text itself]
    
    Some text to show that the reference links can follow later.
    
    [arbitrary case-insensitive reference text]: https://www.mozilla.org
    [1]: http://slashdot.org
    [link text itself]: http://www.reddit.com
    

    I'm an inline-style link

    I'm an inline-style link with title

    I'm a reference-style link

    I'm a relative reference to a repository file

    You can use numbers for reference-style link definitions

    Or leave it empty and use the link text itself

    Some text to show that the reference links can follow later.

    脚注

    Text prior to footnote reference.[^2]
    [^2]: Comment to include in footnote.
    

    Text prior to footnote reference.[1]

    图片

    Here's our logo (hover to see the title text):
    
    Inline-style:
    ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")
    
    Reference-style:
    ![alt text][logo]
    
    [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"
    

    Here's our logo (hover to see the title text):

    Inline-style:
    alt text

    Reference-style:
    alt text

    代码高亮

    var s = "JavaScript syntax highlighting";
    alert(s);
    

    表格

    Colons can be used to align columns.
    
    | Tables        | Are           | Cool  |
    | ------------- |:-------------:| -----:|
    | col 3 is      | right-aligned | $1600 |
    | col 2 is      | centered      |   $12 |
    | zebra stripes | are neat      |    $1 |
    
    

    Colons can be used to align columns.

    Tables Are Cool
    col 3 is right-aligned $1600
    col 2 is centered $12
    zebra stripes are neat $1
    Markdown | Less | Pretty
    --- | --- | ---
    *Still* | `renders` | **nicely**
    1 | 2 | 3
    
    Markdown Less Pretty
    Still renders nicely
    1 2 3

    引用

    > Blockquotes are very handy in email to emulate reply text.
    > This line is part of the same quote.
    

    Blockquotes are very handy in email to emulate reply text.
    This line is part of the same quote.

    水平线

    Three or more...
    
    ---
    
    Hyphens
    
    ***
    
    Asterisks
    
    ___
    
    Underscores
    

    Three or more...


    Hyphens


    Asterisks


    Underscores


    1. Comment to include in footnote. ↩︎

  • 相关阅读:
    java8
    Python isinstance()
    Python3 File next()
    np.array() 与 np.mat() 比较
    np.nonzero()
    np.dot()
    算法之归并排序的应用 —— 小和问题以及逆序对问题
    递归过程以及递归master公式
    算法之异或运算及其应用
    算法之二分法及其应用
  • 原文地址:https://www.cnblogs.com/pengzhen/p/5513638.html
Copyright © 2011-2022 走看看