Table of Contents

This page is intended as a testing ground/repository for wiki management lore, specifically, somewhere to fuck around and find out without damaging the rest of the wiki.

Headers

Terminology: #-header refers to the # of '=' signs bracketing the header text.

Does a five-header generate a ToC?

Nope. About three headers are needed for a Table of Contents to form.

note that two-headers don't appear to show up on the ToC

3-header

3-headers don't either.

4-header

these do, though.

Hidden Headers

Does this show up??

short version is that trying to wrap hide headers is a bad/nonfunctional idea (they won't show up on ToC). some workaround is needed. trying to hide a sentence now====How about this?==== what about now?

let's try something new. first question, inline headers. answer: automatic line break, okay. additional try: ==== header inline 2 ==== does having text on either side of the header prevent the line break? yes it does. huh.

==== outdented header, might break because headers and wraps and inline, might not ==== line for breakign, no break despite being a new line from the wrap.

Outdented header with big wrap, own line

okay okay okay! big wraps, giving the header its own line ( '=' marks have nothing past them ) works on at least some wraps.

things, stuff, linebreak text

Big Wrap Hide?

this text should be under a header called 'big wrap hide?'

the answer: shows up on ToC, but cannot be jumped to… precisely useless. onlyprint?

Big Wrap Onlyprint?

this text should be under a header called 'big wrap onlyprint?'. Small wrap onlyprint doesn't work because inline wrap interferes with header formation.

answer: same effect as Big Wrap Hide, shows up on ToC but cannot be jumped to.

==== header inline? ====

this text should be under a header called 'header inline'. I've wrapped it in lowercase onlyprint tags. let's see what happens to the ToC. Answer: doesnt' show up on ToC. Damnit.]]]

maybe we have a/the plugin for this?

%hide hidden header plugin test

nope. wrap (anchor)?

anchortext anchor wrap works! it works! but doesn't show up on the ToC!

empty wrap tag also works

theory: plaintext matching for headers. let's try big wrap 'testables' and anchortext 'testables'.

testables

mmmnope. why? whyyyyyy

adfa a dsf as df ads fads f asdf as fasd fa dsf asd fas df adsf page lengthener

trying anchortext headers. does this break the (visible) Headers header?

answer: toc Headers header overrides ig

what if spoilers?

this headline is a spoiler

big ugly red box. no-go

WRAPS

See https://www.dokuwiki.org/_media/plugin:wrap_plugin_example10.png.

Aight Folks Let's Try Some Tabs!