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

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

803 views 38 5
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