From a9fe5e385cb7146b000da74e45f5d1a7166255b0 Mon Sep 17 00:00:00 2001
From: morandan <52553740+morandan@users.noreply.github.com>
Date: Sun, 04 Jul 2021 16:59:45 +0000
Subject: [PATCH] add-toc

---
 README.md |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md
index 473c543..201fbdb 100644
--- a/README.md
+++ b/README.md
@@ -624,6 +624,19 @@
 
 Additionally, you can include the `{{% loading %}}` shortcode, which will display a spinner on the page that will be redirected. If it does not display, make sure that unsafe mode is enabled for `markup.goldmark.renderer`.
 
+### Enable Table of Contents
+
+You can enable a table of contents on a per post basis by adding the following into the front matter of the posts your want the table of contents to appear on. 
+
+```md
++++
+...
+toc = true
++++
+```
+
+Only "## H2 Headings" and "### H3 Headings" will appear in the table of contents.
+
 ## License
 
 Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE).

--
Gitblit v1.10.0