I'm not sure, but I may have stumbled upon a list maker / bullet issue.
Specifically, list markers (aka bullets) do not rendering consistently when mixed with list items that have check boxes. The list markers do not show in some instances.
I'm seeing this in both the atom editor asciidoctor preview (latest version) and Asciidoctor 2.0.10, AsciiDocFX 1.7.1, as well as when using Asciidoctor PDF 1.5.3 to output. See below examples with the results I see in parenthesis. The numbers are there just for tracking the example. The list is unordered.
* List Item 1 (No marker? - what happened?)
* [ ] Checklist Item 2 - (Good checkbox)
** List Item 2.1 - (Good marker)
** List Item 2.2 - (Good marker)
* [ ] Checklist Item 3 - (Good checkbox)
* List Item 4 - (No marker error?)
** List Item 4.1 - (Good marker)
** List Item 4.2 - (Good marker)
* List Item 5 (Good marker)
** List Item 5.1
** List Item 5.2
New List 2:
* [ ] Checklist Item 6 (Good checkbox)
* [ ] Checklist Item 7 (Good checkbox)
** [ ] Checklist Item 7.1 (Good checkbox)
** [ ] Checklist Item 7.2 (Good checkbox)
** List Item 7.3 (No marker error?)
** List Item 7.4 (No marker error?)
* List Item 8 (No marker error?)
On Sat, Dec 5, 2020 at 9:55 AM David Jencks [via Asciidoctor :: Discussion] <[hidden email]> wrote:
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.
That's correct. The default stylesheet disables the list item marker for the list. So an item with no checkbox will not have a marker at all. If you want a different appearance, you can augment or replace the stylesheet.
If you feel that your update looks better than the default stylesheet, feel free to submit a proposal to the project to change it and I'll certainly consider it. If we can all agree it looks better, I'm all for it.
On Sat, Dec 5, 2020 at 4:06 PM weezair [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Alrighty, so I need to extend the css. I'll give it a shot.
Thank you very much for the feedback.
If you reply to this email, your message will be added to the discussion below: