jane主题是基于markdown语法的拓展,其中每个版本的语法都有细微差别,这里记录一下,方便以后书写,同时也做一个备忘。

MD常用语法整理

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
标题: #XXX    最多六级标题

列表:  无序 : * 、+、- 

              有序:1.     2.    3.  

引用: >这是引用文本

链接: [链接名称](http://www.baidu.com)

图片 :   ![ 图片名称 ]( 图片地址 )

粗体: **AAA**                         斜体:*AAA*

代码:     ·   代码内容  ·    tab 缩进

//```
//代码块
//```


表格

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
表格:

| Name              | Markdown            | HTML tag             |
| ----------------- | ------------------- | -------------------- |
| *Emphasis*        | `*Emphasis*`        | `<em></em>`          |
| **Strong**        | `**Strong****`        | `<strong></strong>` |
| `code`            | ``code``            | `<code></code>`      |
| ~~Strikethrough~~ | `~~Strikethrough~~` | `<del></del`         |
| <u>Underline</u>  | `<u>underline</u>`  | `<u></u>`            |

Name Markdown HTML tag
Emphasis *Emphasis* <em></em>
Strong **Strong**** <strong></strong>
code code <code></code>
Strikethrough ~~Strikethrough~~ <del></del
Underline <u>underline</u> <u></u>

横向规则

输入***或—在空行上按,return将绘制一条水平线。


其他jane主题

引入豆瓣条目

1
{{< douban id >}}

Tips

代码:

1
2
3
4
{{% notice note %}}
A notice disclaimer
{{% /notice %}}

示例:

代码 :

1
2
3
4
{{% notice note 笔记 %}}
A notice disclaimer
{{% /notice %}}

示例:

代码 :

1
2
3
4
{{% notice tip 笔记 %}}
A notice disclaimer
{{% /notice %}}

示例:

代码 :

1
2
3
4
{{% notice info 笔记 %}}
A notice disclaimer
{{% /notice %}}

示例:

代码 :

1
2
3
4
{{% notice warning 笔记 %}}
A notice disclaimer
{{% /notice %}}

示例:

music

1
{{% music "3950552" %}}

youku

1
{{% youku XMzQ0ODUxMjM2NA %}}

脚注

Footnote-1
1
2
3
You can create footnotes like this[^footnote].

[^footnote]: Here is the *text* of the **footnote**.

will produce:

You can create footnotes like this1.

Mouse on the ‘footnote’ superscript to see content of the footnote.

Footnote-2
1
2
3
You can create footnotes like this[^footnote2].

[^footnote2]: Here is the *text* of the **footnote**.

will produce:

You can create footnotes like this2.

Mouse on the ‘footnote’ superscript to see content of the footnote.

Footnote-3
1
2
3
You can create footnotes like this[^footnote].

[^footnote]: Here is the *text* of the **footnote**.

will produce:

You can create footnotes like this3.

Mouse on the ‘footnote’ superscript to see content of the footnote.

Footnote-4
1
2
3
You can create footnotes like this[^footnote].

[^footnote]: Here is the *text* of the **footnote**.

will produce:

You can create footnotes like this4.

Mouse on the ‘footnote’ superscript to see content of the footnote.

Footnote-5
1
2
3
You can create footnotes like this[^footnote].

[^footnote]: Here is the *text* of the **footnote**.

will produce dddddddddddddddddddddddddddddddddddddddddddddd:

You can create footnotes like this5.

Mouse on the ‘footnote’ superscript to see content of the footnote.


  1. Here is the text of the footnote-1. ↩︎

  2. Here is the text of the footnote-2. Here is the text of the footnote-2. Here is the text of the footnote-2. Here is the text of the footnote-2. Here is the text of the footnote-2. The world’s fastest framework for building websites | Hugo ↩︎

  3. Here is the text of the footnote-3. ↩︎

  4. Here is the text of the footnote-4. ↩︎

  5. Here is the text of the footnote-5. ↩︎