Browse files

Add warning about MMark and TOCs

  • Loading branch information...
lucperkins authored and digitalcraftsman committed Oct 10, 2017
1 parent e8d259d commit d6dfbbc51102958247b1fc7735c2464ca5d72ada
Showing with 4 additions and 0 deletions.
  1. +4 −0 content/content-management/
@@ -45,6 +45,10 @@ Hugo will take this Markdown and create a table of contents from `## Introductio
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.'
{{% 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.
{{% /note %}}
## Template Example: Basic TOC
The following is an example of a very basic [single page template][]:

0 comments on commit d6dfbbc

Please sign in to comment.