美文网首页
Markdown_Basical syntax

Markdown_Basical syntax

作者: alango | 来源:发表于2018-07-16 16:07 被阅读0次

    Reference Pages

    创始人 John Gruber 的 Markdown 语法说明:https://daringfireball.net/projects/markdown/syntax
    Markdown中文版语法说明:http://wowubuntu.com/markdown/#list


    Syntax

    段落:

    空行(一行中只含有 SPACE 或者 TAB 也是可以的)

    标题:
    • 方法一:
    标题一
    =============== (Or ---------------------)
    
    • 方法二:
    # 标题二
    
    引用:
    > This is a blockquote.
    >
    > This is the second paragraph in this blockquote.
    >
    > ## This is an H2 in this blockquote.
    

    效果为:

    This is a blockquote.

    This is the second paragraph in this blockquote.

    This is an H2 in this blockquote.

    加粗:
    **加粗**
    
    倾斜:
    *倾斜*
    
    Lists:
    • 无序列表(用 *,+,-标注):
    * First
    * Second
    * Thrid
    
    • 有序列表:
    1. Red
    2. Green
    3. Blue
    
    Links:
    This is an [example link]([http://www.baidu.com/).](http://www.baidu.com/).)
    I get 10 times more traffic from [Google][1] than from [Yahoo][2] or [MSN][3].
    
    (There is a blank line. It's must.)
    
    [1]: http://google.com/ "Google"
    [2]: http://search.yahoo.com/ "Yahoo Search"
    [3]: http://search.msn.com/ "MSN Search"
    
    Images:
    ![alt text](/path/to/img.jpg "Title")
    ![alt text][id]
    
    [id]: /path/to/img.jpg "Title"
    
    Code:
    To use the standard io header, you can `#include <stdio.h>`
    

    Frequently, we use several header files. They are as follows.

    (```)
    #include <stdio.h>
    #include <stdlib.h>
    (```)注意,在code的首尾有括号中的符号
    
    分割线:
    ***
    * * *
    ---
    -------------------------------
    

    相关文章

      网友评论

          本文标题:Markdown_Basical syntax

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