mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 05:43:39 +08:00
+13
-14
@@ -6,8 +6,8 @@ tests adapted from <https://github.github.com/gfm/#task-list-items-extension->
|
||||
- [x] bar
|
||||
^D
|
||||
<ul class="task-list">
|
||||
<li><input type="checkbox" disabled="" />foo</li>
|
||||
<li><input type="checkbox" disabled="" checked="" />bar</li>
|
||||
<li><input type="checkbox" />foo</li>
|
||||
<li><input type="checkbox" checked="" />bar</li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
@@ -20,12 +20,11 @@ tests adapted from <https://github.github.com/gfm/#task-list-items-extension->
|
||||
- [ ] bim
|
||||
^D
|
||||
<ul class="task-list">
|
||||
<li><input type="checkbox" disabled="" checked="" />foo<ul
|
||||
class="task-list">
|
||||
<li><input type="checkbox" disabled="" />bar</li>
|
||||
<li><input type="checkbox" disabled="" checked="" />baz</li>
|
||||
<li><input type="checkbox" checked="" />foo<ul class="task-list">
|
||||
<li><input type="checkbox" />bar</li>
|
||||
<li><input type="checkbox" checked="" />baz</li>
|
||||
</ul></li>
|
||||
<li><input type="checkbox" disabled="" />bim</li>
|
||||
<li><input type="checkbox" />bim</li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
@@ -53,21 +52,21 @@ paragraph
|
||||
- [x] checked
|
||||
^D
|
||||
<ul>
|
||||
<li><input type="checkbox" disabled="" />unchecked</li>
|
||||
<li><input type="checkbox" />unchecked</li>
|
||||
<li>plain item</li>
|
||||
<li><input type="checkbox" disabled="" checked="" />checked</li>
|
||||
<li><input type="checkbox" checked="" />checked</li>
|
||||
</ul>
|
||||
<p>paragraph</p>
|
||||
<ol type="1">
|
||||
<li><input type="checkbox" disabled="" />ordered unchecked</li>
|
||||
<li><input type="checkbox" />ordered unchecked</li>
|
||||
<li>[] plain item</li>
|
||||
<li><input type="checkbox" disabled="" checked="" />ordered checked</li>
|
||||
<li><input type="checkbox" checked="" />ordered checked</li>
|
||||
</ol>
|
||||
<p>paragraph</p>
|
||||
<ul class="task-list">
|
||||
<li><p><input type="checkbox" disabled="" />list item with
|
||||
a</p><p>second paragraph</p></li>
|
||||
<li><p><input type="checkbox" disabled="" checked="" />checked</p></li>
|
||||
<li><p><input type="checkbox" />list item with a</p><p>second
|
||||
paragraph</p></li>
|
||||
<li><p><input type="checkbox" checked="" />checked</p></li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user