Others

Gungnir
2022-03-12
2 min

INFO

These features are disabled by default.

TIP

Code related to the disabled features will not be included in your site's bundle files.

plugin-md-plus is used for adding more syntax in Markdown. It now supports:

  • Footnote
  • Mark
  • Subscript
  • Superscript

You can enable all features simply by:

theme: gungnirTheme({
  themePlugins: {
    mdPlus: {
      all: true // enable all features (default: false)
    }
  }
});

or enable them separately:

theme: gungnirTheme({
  themePlugins: {
    mdPlus: {
      footnote: true, // Footnote (default: false)
      mark: true, // Mark (default: false)
      sub: true, // Subscript (default: false)
      sup: true // Superscript (default: false)
    }
  }
});

Footnote

Add footnotes for text[1]

Syntax
Add footnotes for text[^1]

[^1]: Write your footnote here.

Mark

Mark important information: "Excuse me. Can you tell me how much the shirt is?" "Yes, it's nine fifteen."

Syntax
Yes, it's ==nine fifteen==.

Subscript

H2O

Syntax
H~2~O

Superscript

29th

Syntax
29^th^


  1. Write your footnote here. ↩︎