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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,005 views 23 13
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