thumbnail
Markdown语法

摘自https://markdown.com.cn/

标题语法


一级标题

# 一级标题

二级标题

## 二级标题

三级标题

### 三级标题

四级标题

#### 四级标题
五级标题
##### 五级标题
六级标题
###### 六级标题

强调语法


粗体

这是粗体 粗体

这是粗体 **粗体**

斜体

这是斜体斜体

这是斜体*斜体*

这是句中斜体示例

这是句中*斜体*示例

粗体和斜体

这是粗斜体粗斜体

这是粗斜体***粗斜体***

这是句中粗斜体示例

这是句中***粗斜体***示例

引用语法

这是示例

> 这是示例

嵌套式引用

嵌套式引用示例

嵌套内容

> 嵌套式引用示例
>
>> 嵌套内容

带有其它元素的块引用

这是嵌套标题

  • 这是示例1
  • 这是示例2

这是 示例斜体 这是 示例粗体

## 带有其它元素的块引用

> #### 这是嵌套标题
>
> - 这是示例1
> - 这是示例2
>
>  这是 *示例斜体* 这是 **示例粗体**

列表语法

有序列表

要创建有序列表,请在每个列表项前添加数字并紧跟一个英文句点。数字不必按数学顺序排列,但是列表应当以数字 1 起始。后面带[iteam]自动排序

  1. First item
  2. Second item
  3. Third item
  4. Fourth item
1. First item
2. Second item
3. Third item
4. Fourth item
  1. First item
  2. Second item
  3. Third item
  4. Fourth item
1. First item
1. Second item
1. Third item
1. Fourth item
  1. First item
  2. Second item
  3. Third item
  4. Fourth item
1. First item
8. Second item
3. Third item
5. Fourth item
  1. First item
  2. Second item
  3. Third item
    1. Indented item
    2. Indented item
  4. Fourth item
1. First item
2. Second item
3. Third item
    1. Indented item
    2. Indented item
4. Fourth item

无序列表

要创建无序列表,请在每个列表项前面添加破折号 (-)、星号 (*) 或加号 (+) 。缩进一个或多个列表项可创建嵌套列表。


  • First item
  • Second item
  • Third item
  • Fourth item
- First item
- Second item
- Third item
- Fourth item
  • First item
  • Second item
  • Third item
    • Indented item
    • Indented item
  • Fourth item
- First item
- Second item
- Third item
    - Indented item
    - Indented item
- Fourth item

在列表中嵌套其他元素

段落

  • This is the first list item.

  • Here’s the second list item.

    I need to add another paragraph below the second list item.

  • And here’s the third list item.

*   This is the first list item.
*   Here's the second list item.

    I need to add another paragraph below the second list item.

*   And here's the third list item.

引用块

  • This is the first list item.

  • Here’s the second list item.

    A blockquote would look great below the second list item.

  • And here’s the third list item.

*   This is the first list item.
*   Here's the second list item.

    > A blockquote would look great below the second list item.

*   And here's the third list item.

代码块

  1. Open the file.

  2. Find the following code block on line 21:

    <html>
      <head>
        <title>Test</title>
      </head>
    
  3. Update the title to match the name of your website.

1.  Open the file.
2.  Find the following code block on line 21:

        <html>
          <head>
            <title>Test</title>
          </head>

3.  Update the title to match the name of your website.

图片

  1. Open the file containing the Linux mascot.

  2. Marvel at its beauty.

    Tux, the Linux mascot

  3. Close the file.

1.  Open the file containing the Linux mascot.
2.  Marvel at its beauty.

    ![Tux, the Linux mascot](/img/some.jpg)

3.  Close the file.

列表

  1. First item
  2. Second item
  3. Third item
    • Indented item
    • Indented item
  4. Fourth item
1. First item
2. Second item
3. Third item
    - Indented item
    - Indented item
4. Fourth item

分割线语法



***
---

链接语法

这是一个链接 LosHub

这是一个链接 [LosHub](https://neoxk.top/)

链接增加Title

这是一个链接 LosHub(悬停显示)

网址和邮箱

尖括号方便转换

https://neoxk.top/
fake@example.com

<https://neoxk.top/>
<fake@example.com>

带格式化链接

普通文字链接 Blog.
斜体链接 Markdown Guide.
代码 code.

图片语法

这是图片

![这是图片](/img/some.jpg "花")     注:后双引号表示悬停注释

链接图片

顾名思义,带链接的图片———本网站使用主题渲染有误,所以中间有一条横杠,具体以使用主题为主

花

[![花](/img/some.jpg "花")](https://neoxk.top/)

表格语法

Syntax Description
Header Title
Paragraph Text
| Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |

对齐

Syntax Description Test Text
Header Title Here’s this
Paragraph Text And more
| Syntax      | Description | Test Text     |
| :---        |    :----:   |          ---: |
| Header      | Title       | Here's this   |
| Paragraph   | Text        | And more      |

删除线

本主题删除线不明显

好累好累好累好累 我要躺平

~~好累好累好累好累~~ 我要躺平

任务列表语法

  • 睡觉
  • 打电动
  • 吃饭

禁用自动转化URL链接

http://neoxk.top

`http://www.neoxk.top`
Have a Nice Day
上一篇
下一篇