Hugo Shortcodes
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Table of Contents

How to use

# file.md

{{< toc >}}

Content of the page.

Shortcode

# toc.html

<div class="toc">
    {{ .Page.TableOfContents }}
</div>


Sample


Source