I need insert the table of contents in the content.
How can I split the content, and then insert the table of contents in the content?
It means that I need to tell the confluence Word Templates - Scroll Word Exporter the position of content where the table of contents locates.
For example,
content part1
table of contents
title1...........................3
title2...........................9
content part2
Hi @Ronaldo Huang , thanks for the comment. Unfortunately, it is not possible to split the Confluence content that is exported using our app, Scroll Word Exporter. The $scroll.content placeholder in your template will mark the start of where the content is rendered when the template is used and can't be separated/defined to choose certain content.
Is the content part 1 always changeable or is it set content? If the content is not changeable, you could have the content added to a separate page in your Confluence instance and use the $scroll.includepage placeholder to add it as the first element in your template, prior to the table of contents, and then have your $scroll.content placeholder after the TOC.
Would this be an option?
Thanks, Thomas (K15t)
Thank you for your reply.
Where does the $scroll.includepage placeholder locate?Could you please give me an example?
Is the following right?
$scroll.includepage unchangeable content part1
table of contents
title1...........................3
title2...........................9
$scroll.content
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.