美文网首页
Markdown语法练习

Markdown语法练习

作者: 留一瓢 | 来源:发表于2016-12-23 12:15 被阅读0次

    链接

    [baidu]:http://www.baidu.com
    [百度][baidu]
    [Google](https://www.google.com)
    

    百度
    Google

    强调

    |1|2|3||
    |:---|:---:|---:||
    |*asterisks*|_**asterisks**_|__underscores__|~~scratch~~|
    

    |1|2|3||
    |:---|:---:|---:||
    |asterisks|asterisks|underscores|scratch|

    列表

    1. first ordered list item
    2. another item
      * Unordered sub-list
    1. Actual numbers don't matter,just that it's a number
      1. Ordered sub-list
    5. And another item
    
    1. first ordered list item
    2. another item
    • Unordered sub-list
    1. Actual numbers don't matter,just that it's a number
    2. Ordered sub-list
    3. And another item

    图片

    ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png)
    ![ref model][logo]
    [logo]:https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png
    
    alt textalt text
    ![ref model][logo]
    [logo]:https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png

    代码与语法高亮

    Inline `code`
    ```javascript
    //javascript code test
    function test(){
      console.log(1111)
    }
    ```
    
    ```python
    #python code test
    import time
    print time.time()
    ```
    

    Inline code

    //javascript code test
    function test(){
      console.log(1111)
    }
    
    #python code test
    import time
    print time.time()
    

    表格

    |tables |are| cool|
    |:---|:---:|---:|
    |1|2|3
    
    tables are cool
    1 2 3

    块引用

    >Blockquotes are very handy in email to emulate reply text.
    >This line is part of the same quote
    
    Quote break
    
    >This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote. 
    

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

    Quote break

    This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

    分割线

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

    Three or more...


    Hyphens


    Asterisks


    Underscores

    Line Breaks

    Here's a line for us to start with.
    
    This line is separated from the one above by two newlines,so it will be a *separate paragraph*.
    
    This line is  also a separate paragraph,but...
    This line is only separated by a single newline,so it's a separate line in the *same paragraph*.
    

    Here's a line for us to start with.

    This line is separated from the one above by two newlines,so it will be a separate paragraph.

    This line is also a separate paragraph,but...
    This line is only separated by a single newline,so it's a separate line in the same paragraph.

    相关文章

      网友评论

          本文标题:Markdown语法练习

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