Re: List Marker & Check Box Inconsistency

Posted by David Jencks on
URL: https://discuss.asciidoctor.org/List-Marker-Check-Box-Inconsistency-tp8371p8383.html

The part I just realized is that in a checklist, the checkbox (checked or not) is the list marker, so if you leave the checkbox out, you’ll get an unmarked list item, as observed.

David Jencks

On Dec 5, 2020, at 4:26 AM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

If you want an item to have a checkbox, either checked or unchecked, you must use the checkbox syntax. Otherwise, it's treated as a normal list item.

So it needs to look like this:

* [x] Checklist Item 6
* [x] Checklist Item 7
** [x] Checklist Item 7.1
** [x] Checklist Item 7.2
** [ ] List Item 7.3
** [ ] List Item 7.4
* [ ] List Item 8

In other words, the language allows you to mix checklist items with non-checklist items.

Best Regards,

-Dan

--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/List-Marker-Check-Box-Inconsistency-tp8371p8382.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML