How to number a list from high to low?

I would like blog post (and other content), where I want to number lists from high to low. So here is an example:

The 7 sins of meeting management:
7. No moderation
6. Starting late and complaining about that.
5. ...

 

I can of course do that manually, but entering then another bullet is a nightmare. Is there a solution available, like a user macro, a plugin that contains that macro, or some other magic?

2 answers

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Feb 13, 2015

A user macro like this should work. Just wrap it around your ordered list. It will show in ascending order in the editor, but in descending when the page is viewed.

 

## @noparams
##############################
## Create a unique id value ##
##############################
#set( $id=$action.dateFormatter.calendar.timeInMillis )
<div id="container$id">
$body
</div>
<script type="text/javascript">
AJS.toInit(function(){
    AJS.$('#container$id ol').each(function(){
        AJS.$(this).attr('reversed','reversed');
    });
});
</script>

After having used that user macro, I like that solution a lot. It is just the functionality I need, the only thing is that I have to remember, that bullets in the edit mode are in the order from least to best. Thank'S a lot, that is pretty nice!!

This widget could not be displayed.

Hello Markus, there ins't a current option to check that, this might fit into this ticket requesting other items for the same macro. Other than that you should be able to do more with some HTML within the Confluence page - for that there is the HTML macro

Thank's a lot, the JIRA ticket is the right thing to do here. Even if that will need some months / years. I don't want to use native HTML here.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

470 views 6 6
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