Numbering ordered lists

To number nested ordered lists , you can add the following CSS to the page MediaWiki:Common.css.

/*Numbering nested ordered lists */
.mw-content-ltr ol, .ve-ce-branchNode ol{ counter-reset: item; margin-left:1.5em }
.mw-content-ltr ol li { display: block }
.mw-content-ltr ol li:before, .ve-ce-branchNode ol li:before { content: counters(item, ".") "."; counter-increment: item; margin-right:0.5em  }
.ve-ce-branchNode ol li p { display: inline}

Output:

  1. Step 1
    1. Substep 1
    2. Substep 2
      1. Sub-substep 1



To submit feedback about this documentation, visit our community forum.