diff options
author | Yuriy Oborozhnyi <yuriy.oborozhnyi@gmail.com> | 2019-12-11 00:52:28 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-11 01:52:14 +0300 |
commit | 59b2c245b9015d7e34cfaf4c29fa8067d3cadd89 (patch) | |
tree | 489ed57b26a521563468ba593d2b6588a0afb5c3 | |
parent | fd38286737abcda988a76c0b5cdfe4f63c786476 (diff) |
Fix Usage section in toc.md to consider Goldmark TOC settings
-rw-r--r-- | content/en/content-management/toc.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/en/content-management/toc.md b/content/en/content-management/toc.md index e54cb17be..fbb2df065 100644 --- a/content/en/content-management/toc.md +++ b/content/en/content-management/toc.md @@ -47,7 +47,7 @@ A collection of textile samples lay spread out on the table - Samsa was a travel Hugo will take this Markdown and create a table of contents from `## Introduction`, `## My Heading`, and `### My Subheading` and then store it in the [page variable][pagevars]`.TableOfContents`. -The built-in `.TableOfContents` variables outputs a `<nav id="TableOfContents">` element with a child `<ul>`, whose child `<li>` elements begin with any `<h1>`'s (i.e., `#` in markdown) inside your content.' +The built-in `.TableOfContents` variables outputs a `<nav id="TableOfContents">` element with a child `<ul>`, whose child `<li>` elements begin with appropriate HTML headings. See [the available settings](/getting-started/configuration-markup/#table-of-contents) to configure what heading levels you want to include in TOC. {{% note "Table of contents not available for MMark" %}} Hugo documents created in the [MMark](/content-management/formats/#mmark) Markdown dialect do not currently display TOCs. TOCs are, however, compatible with all other supported Markdown formats. |