2016-09-22 04:13:25 +02:00
|
|
|
---
|
|
|
|
title: "Edge Case: Nested and Mixed Lists"
|
|
|
|
categories:
|
|
|
|
- Edge Case
|
|
|
|
tags:
|
|
|
|
- content
|
|
|
|
- css
|
|
|
|
- edge case
|
|
|
|
- lists
|
|
|
|
- markup
|
|
|
|
---
|
|
|
|
|
|
|
|
Nested and mixed lists are an interesting beast. It's a corner case to make sure that
|
|
|
|
|
|
|
|
* Lists within lists do not break the ordered list numbering order
|
|
|
|
* Your list styles go deep enough.
|
|
|
|
|
|
|
|
### Ordered -- Unordered -- Ordered
|
|
|
|
|
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
2019-03-04 17:10:43 +01:00
|
|
|
* **unordered**
|
|
|
|
* **unordered**
|
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
2016-09-22 04:13:25 +02:00
|
|
|
3. ordered item
|
|
|
|
4. ordered item
|
|
|
|
|
|
|
|
### Ordered -- Unordered -- Unordered
|
|
|
|
|
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
2019-03-04 17:10:43 +01:00
|
|
|
* **unordered**
|
|
|
|
* **unordered**
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
2016-09-22 04:13:25 +02:00
|
|
|
3. ordered item
|
|
|
|
4. ordered item
|
|
|
|
|
|
|
|
### Unordered -- Ordered -- Unordered
|
|
|
|
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
1. ordered
|
|
|
|
2. ordered
|
2019-03-04 17:09:33 +01:00
|
|
|
* unordered item
|
|
|
|
* unordered item
|
2016-09-22 04:13:25 +02:00
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
|
|
|
|
### Unordered -- Unordered -- Ordered
|
|
|
|
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
* unordered
|
|
|
|
* unordered
|
|
|
|
1. **ordered item**
|
|
|
|
2. **ordered item**
|
|
|
|
* unordered item
|
2019-03-04 17:09:33 +01:00
|
|
|
* unordered item
|
2019-03-13 13:36:07 +01:00
|
|
|
|
|
|
|
### Task Lists
|
|
|
|
|
|
|
|
- [x] Finish my changes
|
|
|
|
- [ ] Push my commits to GitHub
|
|
|
|
- [ ] Open a pull request
|