You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello. I need multilevel numbered list independently for text and table cells.
This code works, but it affects breadcumbs.
If I add a .wiki-content to fix breadcumbs display issue - the numbering in the table not work correctly.
Can u help with that? PS: I am not an admin, so I can edit the style within my page.
<style>
ol {
counter-reset: item;
margin-bottom: 10px;
}
ol li {
display: block;
position: relative;
margin: 0.11em;
}
ol li::before {
content: counters(item, ".")".";
counter-increment: item;
position: absolute;
margin-right: 100%;
font-size: 80%;
background-color: #F0F0F0;
color: #2C3135;
font-weight: bold;
padding: 1px 4px;
border-radius: 3px;
right: 10px;
/* space between number and text */
}
table ol {
counter-reset: myTableCounter;
margin: 0.11em;
}
table ol li {
display: block;
position: relative;
}
table ol li::before {
content: counters(myTableCounter, ".")".";
counter-increment: myTableCounter;
}
</style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.