Should Checklist support GFM checkbox syntax?

Sorry, this seems confusing because things have changed fairly recently. I am referring to the screenshot shown at the plugin page that does not show the bulleted checklist syntax (and that the rake migrate task doesn’t seem to support):

Here’s the diff screenshot that made the change:

It’s hard to see but the left side has bulleted checkboxes, but the current right side gets rid of the bullets, suggesting a different default checkbox syntax for new users.


Added later:

In other words, all of these are now supported using the checklist plugin:

[] first
-[] second
- [] third

rendered as

first
- second

  • third

while GFM tasklist spec only allows for the third variant (as a tasklist is a list):

A task list item is a list item where the first block in it is a paragraph which begins with a task list item marker and at least one whitespace character before any other content.

A task list item marker consists of an optional number of spaces, a left bracket ( [ ), either a whitespace character or the letter x in either lowercase or uppercase, and then a right bracket ( ] ).

If one wants to conform to the GFM tasklist extension spec, then the first two should not be allowed and not promoted in the plugin documentation.

1 Like