Confluence - Table of content macro does not capture expand macro contents

macro
tableofcontents
text
expand
confluence

#1

I was wondering why the content put in the expand macro is not displayed in the table of content macro. Do you know why?


#2

That would only happen if you don’t mark the text in the expand macro as a header. The table of content macro only captures headers and not “paragraph” text.

Could you try and let us know if it worked like that? :slight_smile:

Here are the general links to the two macros:
https://confluence.atlassian.com/doc/expand-macro-223222352.html
and
https://confluence.atlassian.com/doc/table-of-contents-macro-182682099.html

This is how it should look like (“Klicken Sie hier, um zu erweitern…” is the german version of “Click here to expand”)


To continually improve and optimize our website for you, we use cookies. By continuing to use this website, you agree to the use of cookies. OK Details