diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-12-08 01:05:57 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-12-08 01:06:03 +0700 |
| commit | 8f50b1676835ecf4d7d43196e95c05abe98c3ac7 (patch) | |
| tree | 0696c67393bc32c5306810fa2a9a19f4f8fb82e4 /testdata | |
| parent | 50dda5f85522398aab399c238bd156a8636b9e0a (diff) | |
| download | asciidoctor-go-8f50b1676835ecf4d7d43196e95c05abe98c3ac7.tar.xz | |
all: add support for checklist in unordered list
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/got.test.html | 22 | ||||
| -rw-r--r-- | testdata/test.adoc | 7 | ||||
| -rw-r--r-- | testdata/test.html | 22 |
3 files changed, 49 insertions, 2 deletions
diff --git a/testdata/got.test.html b/testdata/got.test.html index f4f51a3..24008f7 100644 --- a/testdata/got.test.html +++ b/testdata/got.test.html @@ -63,6 +63,7 @@ <li><a href="#_unordered_lists">15. Unordered Lists</a> <ul class="sectlevel2"> <li><a href="#_custom_markers">15.1. Custom markers</a></li> +<li><a href="#_checklist">15.2. Checklist</a></li> </ul> </li> <li><a href="#_mixed_list">16. Mixed list</a></li> @@ -1039,6 +1040,25 @@ This line separated by comment.</p> </ul> </div> </div> +<div class="sect2"> +<h3 id="_checklist"><a class="anchor" href="#_checklist"></a><a class="link" href="#_checklist">15.2. Checklist</a></h3> +<div class="ulist checklist"> +<ul class="checklist"> +<li> +<p>✓ checked</p> +</li> +<li> +<p>✓ also checked</p> +</li> +<li> +<p>❏ not checked</p> +</li> +<li> +<p>normal list item</p> +</li> +</ul> +</div> +</div> </div> </div> <div class="sect1"> @@ -2858,7 +2878,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-12-08 00:00:50 +0700 +Last updated 2020-12-08 00:05:36 +0700 </div> </div> </body> diff --git a/testdata/test.adoc b/testdata/test.adoc index c100aea..2e78ee7 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -449,6 +449,13 @@ This line separated by comment. * what one * what two +=== Checklist + +* [*] checked +* [x] also checked +* [ ] not checked +* normal list item + == Mixed list diff --git a/testdata/test.html b/testdata/test.html index 0b6110d..d48b96c 100644 --- a/testdata/test.html +++ b/testdata/test.html @@ -63,6 +63,7 @@ <li><a href="#_unordered_lists">15. Unordered Lists</a> <ul class="sectlevel2"> <li><a href="#_custom_markers">15.1. Custom markers</a></li> +<li><a href="#_checklist">15.2. Checklist</a></li> </ul> </li> <li><a href="#_mixed_list">16. Mixed list</a></li> @@ -1041,6 +1042,25 @@ This line separated by comment.</p> </ul> </div> </div> +<div class="sect2"> +<h3 id="_checklist"><a class="anchor" href="#_checklist"></a><a class="link" href="#_checklist">15.2. Checklist</a></h3> +<div class="ulist checklist"> +<ul class="checklist"> +<li> +<p>✓ checked</p> +</li> +<li> +<p>✓ also checked</p> +</li> +<li> +<p>❏ not checked</p> +</li> +<li> +<p>normal list item</p> +</li> +</ul> +</div> +</div> </div> </div> <div class="sect1"> @@ -2855,7 +2875,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-12-08 00:00:50 +0700 +Last updated 2020-12-08 00:05:35 +0700 </div> </div> </body> |
