Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Oborozhnyi <yuriy.oborozhnyi@gmail.com>2019-12-11 00:52:28 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-12-11 01:52:14 +0300
commit59b2c245b9015d7e34cfaf4c29fa8067d3cadd89 (patch)
tree489ed57b26a521563468ba593d2b6588a0afb5c3
parentfd38286737abcda988a76c0b5cdfe4f63c786476 (diff)
Fix Usage section in toc.md to consider Goldmark TOC settings
-rw-r--r--content/en/content-management/toc.md2
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.