diff options
author | Rise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-14 15:33:36 +0300 |
---|---|---|
committer | Rise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-14 15:33:36 +0300 |
commit | d7107f06129dfe394f53805dc102e4f244ce19e5 (patch) | |
tree | 131aeb8ad47828c4f9bc92f5623932bb118384ad | |
parent | 680328c6c27c34a795bc37b1a3ede46189e3721a (diff) |
Updated Table Of Contents (markdown)
-rw-r--r-- | Table-Of-Contents.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Table-Of-Contents.md b/Table-Of-Contents.md index 663df4c..e3a4d93 100644 --- a/Table-Of-Contents.md +++ b/Table-Of-Contents.md @@ -10,8 +10,16 @@ Then you will not see it. Add `disableToC: true` in the front matter of the page. Then you will disable it in the very page. -## Disable ToC auto collapse +## ~ToC auto collapse~ -Please add `disableAutoCollapse=true` to the section of `[param]` in your site's `config.toml`. +After 1.3.0, I've removed this function. + +To enable this (not recommended), please add `enableAutoCollapse=true` to the section of `[param]` in your site's `config.toml`. + +**NOTE:** This function relies on jQuery, which goes with terrible performance. + +For old users (version < 1.3.0), this function is enabled by default. + +To disable, please add `disableAutoCollapse=true` to `[param]`. And this can be applied to single page as [Apply for single page](#Apply-for-single-page), too.
\ No newline at end of file |