Numbered List style

hi all

is it possible to change Numbered list style in a way where sublist are numbered  as child of parent, in decimal with dot separator, i.e.

1

1.1

2

2.1

2.1.1

 

 

Thanks

 

3 answers

Hi,

yes, it is possible.

You have to write your own CSS where you redefine the ol and li definitions with your own customized counters.

If you are familiar with that you can give it a try. Otherwise it is probably much too much hassle.

hi Steffen

yes, CSS, but where? in some macros ?

When I enter "Edit" mode there's on place to change it.

Or I have to have admin privileges to see hidden place in confluence ?

 

Regards

David

 

What do you want to change: The wiki page or the PDF export of it?

For the wiki page:

  • Click Edit
  • Include the {style} macro (start typing "{sty.." and it should automatically complete it to "CSS Stylesheet")

  • Enter CSS code

For PDF export:

  • Go to PDF Export Stylesheet
  • Enter CSS code

For the CSS itself check pages like http://stackoverflow.com/questions/4098195/can-ordered-list-produce-result-that-looks-like-1-1-1-2-1-3-instead-of-just-1 to get an idea what it needs to make it work (if it does at all!)

 

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,989 views 25 10
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