How do I get lowercase-letter ordered lists?

In HTML, I just use <ol type="a">, but confluence doesn't let me do that. Is there any way to get these kinds of ordered lists? Like this:

a. first item

b. item the next

c. ....

2 answers

1 accepted

This widget could not be displayed.

Hi Chris

I made some tests here and you are right: seems like the attribute type is not been recognized by Confluence, at least using the html macro.

I suggest you to try using CSS and check if this can help.

Cheers!

Bruna,

You are 90% of the way there.

Chris,

If I am understanding things correctly, you want to change the top level of nesting of ordered list from their default decimal types to the "lower-alpha" list-style-type.

What I would suggest involves using the confluence souce editor to add a custom class to the list that you would like to. The result should look something like the following

&lt;ol class="alpha_list"&gt;
  &lt;li&gt;this is one&lt;br/&gt;
    &lt;ol&gt;
      &lt;li&gt;this is a two&lt;br/&gt;
        &lt;ol&gt;
          &lt;li&gt;OMGEE 3&lt;/li&gt;
        &lt;/ol&gt;
      &lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
  &lt;li&gt;Clippy&lt;/li&gt;
  &lt;li&gt;Derp&lt;/li&gt;
&lt;/ol&gt;

You would then create the following style in either your Global Or Space Admin > Stylesheets tab

ol.alpha_list  
{  
    list-style-type: lower-alpha;  
}

The style would only affect the first level of nesting in the structure above. It would retain the same sub list behavior that is default in Confluence.

i.e. First level Decimal, Second lower alpha, third lower roman...etc

Please let us know if this answers your questions

Hi, I didn't get notification of these comments -- sorry for the delayed response. I'm sure this would work, unfortunately, our confluence admins haven't granted anyone permissions to add their own css. :(

This widget could not be displayed.

If you are using Confluence v4.0 or above, you can do this:

  • start a numbered list
  • press tab to indent the list

The identation will change the numbering from 1,2,3... to a,b,c...

Thanks Mark.  This answer works but it produces two indents before the letter list if it is a sublist.

i.e.

1. Main list one

  1. Sub list one
  2. Sub list two

 

becomes:

1. Data points that are not logging in test drives or on bench

                 a. ActiveComfortProgramControlService,activeComfortProgramStatusChanged
                 b. 
TemperatureService,getTemperatureForAllZones

 

it'd be great if we can switch between number and letter list

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 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...

568 views 7 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