summaryrefslogtreecommitdiff
path: root/docs/extensions/toc.md
diff options
context:
space:
mode:
authorJannis Vajen <jvajen@gmail.com>2022-05-05 21:53:38 +0200
committerGitHub <noreply@github.com>2022-05-05 15:53:38 -0400
commit93d17b9cc4a3f53dc2059e44a691a28797422d21 (patch)
tree208bcc0ef29db5f4125bbaf2fa6ef7fd054c7ffe /docs/extensions/toc.md
parentefec51ac92059fc5b72f08832b481919a3ded6f3 (diff)
downloadpython-markdown-93d17b9cc4a3f53dc2059e44a691a28797422d21.tar.gz
Support custom CSS class on TOC element
Closes #1224
Diffstat (limited to 'docs/extensions/toc.md')
-rw-r--r--docs/extensions/toc.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md
index 8dce335..8d7bd35 100644
--- a/docs/extensions/toc.md
+++ b/docs/extensions/toc.md
@@ -151,6 +151,9 @@ The following options are provided to configure the output:
* **`title`**:
Title to insert in the Table of Contents' `<div>`. Defaults to `None`.
+* **`toc_class`**:
+ CSS class(es) used for the `<div>` containing the Table of Contents. Defaults to `toc`.
+
* **`anchorlink`**:
Set to `True` to cause all headers to link to themselves. Default is `False`.