ordered_list_with_checkboxes.unit 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. >>> checkbox with space
  2. 1. [ ] one
  3. 2. [ ] two
  4. <<<
  5. <ol class="contains-task-list">
  6. <li class="task-list-item"><input type="checkbox"></input>one</li>
  7. <li class="task-list-item"><input type="checkbox"></input>two</li>
  8. </ol>
  9. >>> empty checkbox
  10. 1. [] one
  11. 2. [] two
  12. <<<
  13. <ol>
  14. <li>[] one</li>
  15. <li>[] two</li>
  16. </ol>
  17. >>> checkbox with x
  18. 1. [x] one
  19. 2. [x] two
  20. <<<
  21. <ol class="contains-task-list">
  22. <li class="task-list-item"><input type="checkbox" checked="true"></input>one</li>
  23. <li class="task-list-item"><input type="checkbox" checked="true"></input>two</li>
  24. </ol>
  25. >>> checkbox with X
  26. 1. [X] one
  27. 2. [X] two
  28. <<<
  29. <ol class="contains-task-list">
  30. <li class="task-list-item"><input type="checkbox" checked="true"></input>one</li>
  31. <li class="task-list-item"><input type="checkbox" checked="true"></input>two</li>
  32. </ol>
  33. >>> mixed checkboxes
  34. 1. [ ] one
  35. 2. [] two
  36. 3. [x] three
  37. 4. [X] four
  38. 5. five
  39. <<<
  40. <ol class="contains-task-list">
  41. <li class="task-list-item"><input type="checkbox"></input>one</li>
  42. <li>[] two</li>
  43. <li class="task-list-item"><input type="checkbox" checked="true"></input>three</li>
  44. <li class="task-list-item"><input type="checkbox" checked="true"></input>four</li>
  45. <li>five</li>
  46. </ol>
  47. >>> mixed leading spaces
  48. 1. [ ] zero
  49. 2. [ ] one
  50. 3. [ ] two
  51. 4. [ ] three
  52. 5. [ ] four
  53. <<<
  54. <ol class="contains-task-list">
  55. <li class="task-list-item"><input type="checkbox"></input>zero</li>
  56. <li class="task-list-item"><input type="checkbox"></input>one</li>
  57. <li class="task-list-item"><input type="checkbox"></input>two</li>
  58. <li class="task-list-item"><input type="checkbox"></input>three</li>
  59. <li>
  60. <pre><code>[ ] four
  61. </code></pre>
  62. </li>
  63. </ol>
  64. >>> checkbox with empty content
  65. 1. [ ] one
  66. 2.
  67. 3.
  68. 4. four
  69. 5. [ ] five
  70. 6.
  71. <<<
  72. <ol class="contains-task-list">
  73. <li class="task-list-item"><input type="checkbox"></input>one</li>
  74. <li></li>
  75. <li></li>
  76. <li>four</li>
  77. <li class="task-list-item"><input type="checkbox"></input>five</li>
  78. <li></li>
  79. </ol>