mdsvex Plugins Example test2#

This post demonstrates the plugins configured in svelte.config.js.

Quick navigation#

Anchors on Headings#

When rehype-slug is enabled, headings receive an id automatically. When rehype-autolink-headings is enabled, an anchor link is injected in each heading.

Nested heading example#

You can link to this section with #nested-heading-example.

Superscript and Subscript#

With remark-supersub:

  • Superscript: Einstein wrote E = mc2.
  • Subscript: Water is H2O.

Footnotes#

With remark-gfm, you can use footnotes like this1.

You can also add another one here2.


  1. This is the first footnote.
  2. This is the second footnote with Markdown formatting.

Auteurs: ,