Skip to content

Instantly share code, notes, and snippets.

@glueckpress
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glueckpress/f4e432f128f70b19225e to your computer and use it in GitHub Desktop.
Save glueckpress/f4e432f128f70b19225e to your computer and use it in GitHub Desktop.
Mixed, nested ordered HTML lists; support request from https://plus.google.com/+ClaudioBott/posts/SYcohmFXc7g
ol {
list-style-type: decimal;
}
ol ol {
list-style-type: lower-roman;
}
<ol>
<li>Text a</li>
<li>Text b</li>
<li>Text c
<ol>
<li>Text d</li>
<li>Text e</li>
<ol>
</li>
<li>Text f</li>
</ol>
1. Text a
2. Text b
3. Text c
a) Text d
b) Text e
4. Text f
@glueckpress
Copy link
Author

Demo GIF for editor workflow:

Nested ordered list in WordPress editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment