How to get a minitoc in the exported pdf?

I am exporting a pdf, out from multiple confluence wiki pages. My requirement is to have a minitioc(for h1, h2, h3 etc.) at the top for each page in the exported pdf. Is this possible to generate, and how?

I don't want to update my wiki pages.

Thanks.

2 answers

Hello there, currently the TOC takes into consideration the entirety of the content in a given page. You can choose where to display the TOC using the CSS Class Name parameter, as described in our doc, though this may need some experimenting with the content and CSS to achieve the desired output.

I did also find an request to improve the functioning of the styling aling this macro, which can be reviewed here.

Do you really mean "at the top for each page in the exported pdf"? That would not be possible.

If you mean "at the beginning of each of your wiki pages" that is possible. Just include the macro at the top of each of your wiki pages and set the "Minimum/Maximum Heading Level" to 1 and 3.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

144 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you