It's better when it's simple

User Tools

Site Tools


TOC Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" no
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Allows to move TOC to the specified place in the page content

Last updated on
Syntax, Action
Conflicts with

Similar to inlinetoc, tocselect, toctweak

Tagged with include, mediawiki, toc

Download and Installation

Search and install the plugin using the Extension Manager. 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).

see also

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.

Issue tracker

Issues should be reported here.


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!

This TOC plugin works with DokuWiki 2013-12-08 “Binky”, however style.css file needs to modify if you want to get mediawiki-like TOC box. — s.sahara 2014/03/01 02:42
plugin/toc.txt · Last modified: 2020-07-20 10:32 by stueja