This is an old revision of the document!
Table of Contents
TOC Plugin
Compatible with DokuWiki
No compatibility info given!
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Download and Installation
Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.
What for?
Sometimes it happens that core TOC conflicts with some other elements placed in the top right corner (e.g. tags). In this case the only solution is to turn off TOC using ~~NOTOC~~
. TOC plugin adds new syntax code ~~TOC~~
which can be used to move TOC inside page content (e.g. like it is done on Wikipedia).
Known bugs
- You can use
~~TOC~~
several times in page content. But other TOCs won't work well… - There is currently no way to disable the default location of the TOC without also disabling THIS one. In other words: You have 2 TOCs or none.
Discussion
Please include the toc folder into the tar file. If you uncompress the plugin into your DokuWiki plugins folder, then the default action.php, style.css, and syntax.php will be overwritten . Most plugins include a directory with the same name containing all the code files.
Fixed, thanks and sorry!