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 votes
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
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