diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/change_log/release-3.4.md | 4 | ||||
-rw-r--r-- | docs/extensions/toc.md | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/change_log/release-3.4.md b/docs/change_log/release-3.4.md index 71f9a20..025d443 100644 --- a/docs/change_log/release-3.4.md +++ b/docs/change_log/release-3.4.md @@ -51,6 +51,10 @@ The following new features have been included in the 3.3 release: Ex: `[{}]` will give <sup>[1]</sup>, `({})` will give <sup>(1)</sup>, or just by default, the current behavior: <sup>1</sup>. +* The [Table of Contents](../extensions/toc.md) extension now accepts a `toc_class` + parameter which can be used to set the CSS class(es) on the `<div>` that contains the + Table of Contents (#1224). + ## Bug fixes The following bug fixes are included in the 3.4 release: 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`. |