Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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. ....

3 answers

1 accepted

0 votes
Answer accepted

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. :(

4 votes

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

This problem still exists, but here's a work-around.

  1. In another editor (I know...) create a numbered list with two entries, numbers in the first layer, then indent and use letters in the second. I did this in a Google Doc, where that's the default behavior.
  2. Copy those two lines.
  3. Paste them into your Confluence editor. (To be cautious, keep that "working copy" handy.)
  4. Copy the second level (with a letter) from the "working copy", and paste it in the list where you want to use letters, say right above the indented "1" that made you look for this question in the first place!
  5. Go to the end of the pasted line, delete the temporary text and line break to delete the "1" and bring the following paragraph up to the letter.
  6. To change additional list items to use letters, go to the end of the "good" item *above them*, delete the line break, then hit "enter" to put it back, and that next item will now be enumerated with a letter.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,683 views 7 31
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you