MarkDown 语法

下载

https://www.lanzous.com/i89dreb
密码:mark
由于蓝奏云限制,上传的是zip,解压后就是*.md文件了

引用

MarkDown语法说明(中文版)

MarkDown语法快速入门

1.段落、标题、区块代码

Atx 形式在行首插入 1 到 6 个 # ,对应到标题 1 到 6 阶。
区块引用则使用 email 形式的 '>' 角括号。

A First Level Header

A Second Level Header

Now is the time for all good men to come to
the aid of their country. This is just a
regular paragraph.

The quick brown fox jumped over the lazy
dog's back.

Header 3

This is a blockquote.

This is the second paragraph in the blockquote.

This is an H2 in a blockquote

2. 修辞和强调

Markdown 使用星号和底线来标记需要强调的区段。

Some of these words are emphasized.
Some of these words are emphasized also.
Use two asterisks for strong emphasis.
Or, if you prefer, use two underscores instead.

3. 列表

无序列表使用星号、加号和减号来做为列表的项目标记,这些符号是都可以使用的,使用星号:
  • Candy.
  • Gum.
  • Booze.
  • Candy.
  • Gum.
  • Booze.
  • Candy.
  • Gum.
  • Booze.
  1. Red
  2. Green
  3. Blue
  • A list item.
    With multiple paragraphs.

  • Another item in the list.

4. 链接

Markdown 支援两种形式的链接语法: 行内 和 参考 两种形式,两种都是使用角括号来把文字转成连结。

This is an example link.

This is an example link.

//参考形式的链接让你可以为链接定一个名称,之后你可以在文件的其他地方定义该链接的内容:

I get 10 times more traffic from Google than from
Yahoo or MSN.

//title 属性是选择性的,链接名称可以用字母、数字和空格,但是不分大小写:

I start my morning with a cup of coffee and
The New York Times.

5. 图片

图片的语法和链接很像

//行内形式(title 是选择性的):

alt text

//参考

alt text

6. 代码

使用`代码`,或者换行后用4个空格或一个制表符分开.

    <blockquote>
    <p>For example.</p>
    </blockquote>

I strongly recommend against using any <blink> tags.

I wish SmartyPants used named entities like &mdash;
instead of decimal-encoded entites like &#8212;.

If you want your page to validate under XHTML 1.0 Strict,
you've got to put paragraph tags in your blockquotes:

<blockquote>
<p>For example.</p>
</blockquote>

7. 注释

[//]: # (注释,不会在浏览器中显示。)

8. 注脚

注脚

这是个有注脚的文本。[^注脚]

[^注脚]:注脚内容这是注脚

这是个有注脚的文本。[1]


  1. 注脚内容这是注脚 ↩︎

原文地址:https://www.cnblogs.com/HQiu447/p/12097432.html