feat(task-list): add task list utility mixins and enhance rendering logic

This commit is contained in:
Cell
2026-03-30 14:55:55 +08:00
parent 164a699701
commit 741ef191bf
13 changed files with 114 additions and 65 deletions
+16 -11
View File
@@ -19,17 +19,6 @@ This post tests the rendering of task lists in Markdown.
- [x] Checked Task
- Regular list item
## Nested Task Lists (Bug Fix Verification)
- [ ] Parent Task 1
- [ ] Child Task 1.1
- [x] Child Task 1.2
- Regular list item
- [x] Parent Task 2
- [ ] Child Task 2.1
- [ ] Grandchild Task 2.1.1
- [x] Grandchild Task 2.1.2
## Extended Task Lists (Custom Icons)
- [-] Cancelled Task
@@ -40,6 +29,22 @@ This post tests the rendering of task lists in Markdown.
- [?] Question Task
- Regular list item
## Nested Task Lists (Bug Fix Verification)
- [ ] Parent Task 1
- [ ] Child Task 1.1
- [x] Child Task 1.2
- Regular list item
- [/] Parent Task 2
- Regular list item
- [ ] Child Task 2.1
- [x] Grandchild Task 2.1.1
- [-] Grandchild Task 2.1.2
- [<] Scheduled Task
- [>] Rescheduled Task
- [!] Important Task
- [?] Question Task
## Mixed Content in List Items
- [ ] Task with **bold** and _italic_ text