Footnote

Mr.Hope ... 2020-1-7 Less than 1 minute

Let the Markdown file in your VuePress site support footnotes.

# Config







 





module.exports = {
  plugins: [
    [
      "md-enhance",
      {
        // Enable Footnote
        footnote: true,
      },
    ],
  ],
};
1
2
3
4
5
6
7
8
9
10
11

# Syntax

  • Use [^Anchor text] in Markdown to define a footnote

  • Use [^Anchor text]: ... to describe footnote content

  • If there are muti paragraph in footnote, the paragraph show be double indented

# Demo

Footnote 1 link[1].

Footnote 2 link[2].

Inline footnote[3] definition.

Duplicated footnote reference[2:1].

Footnote 1 link[^first].

Footnote 2 link[^second].

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference[^second].

[^first]: Footnote **can have markup**

    and multiple paragraphs.

[^second]: Footnote text.
1
2
3
4
5
6
7
8
9
10
11
12
13

  1. Footnote can have markup

    and multiple paragraphs. ↩︎

  2. Footnote text. ↩︎ ↩︎

  3. Text of inline footnote ↩︎

Last update: June 4, 2022 13:16
Contributors: Mr.Hope , Mr.Hope