Thread:Project:Support desk/Tag hook: recursiveTagParse() - TOC not loaded/reply (2)

I suppose use a parser function instead of a tag extension is not considered a valid solution? (It would probably fix the issue).

Placing  inside the &lt;foo&gt; seems to work in my tests. For example:

Heading 1
Text

Heading 2
Text

Heading 3
Text produces a toc on my test wiki.

Note, using parser tags in this manner has some other limitations. Namely &lt;foo&gt; cannot be nested, and PST (processing subst:, pipe trick, and ~ ) is not done on the contents of foo