table of contents TOC macro supporting images

Looking to have a small icon size image in some of the Table of content headings.  Wondering if there is an easy way to include them or do I need to go the route of CSS? Or perhaps it is not possible within the TOC macro.

Example TOC with icon images i'm looking for:

  • Title One
  • Title Two check_green-01.gif
  • Title Three ex_red-01.gif

 

4 answers

0 vote
Stephen Deutsch Community Champion Nov 15, 2016

What would be the criteria for which image to display?

The criteria is that there is already an image or perhaps hidden html/css already associated with the heading..   The idea is to quickly denote that certain headings are preferred/approved vs. others that are deprecated or not approved etc.  Whether it is one image or a group of 2, 3, 5, stars etc. the theory is the same.  I would want the same image in larger form next to the heading down when you get to that section of the page hence it would look as follows:

 

  • Title One
  • Title Two check_green-01.gif
  • Title Three ex_red-01.gif

Title One

   asdfsdaf

Title Two  GreenCheck_22.gif

       adsfasd asdf 

Title Three  RedEx_22.gif

       adsfasd asdf 


I'd also be ok with  some kind of markup tag or css that triggers it..

  • Title One
  • Title Two check_green-01.gif
  • Title Three ex_red-01.gif

Title One

   asdfsdaf

Title Two  GreenCheck_22.gif <!–hidden tag 1-->

       adsfasd asdf 

Title Three  RedEx_22.gif <!–hidden tag 2-->

       adsfasd asdf 

So, it would seem that from the lack of any response everyone thinks this is not possible?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 10 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

91 views 2 4
Read article

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