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

This widget could not be displayed.

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.

This widget could not be displayed.

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

503 views 7 6
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