[This has been edited since first posted to the 2 succeeding replies may refer to previous info]
Checklists are a big deal in TW so it ought to be really smooth to create them. Think bullet lists! Checklist are, after all, very similar looking to bullet lists.
As a markdown addition to the full checkbox widget, I imagine this syntax:
[] foo
[x] bar
[] frotz
So what is supposed to happen if a checkbox is checked?
If the user then, in edit view, checks the previously unchecked item, then the string next to the checkbox - the “checkbox prompt” - is added to a checked
field in the tiddler hosting the list, i.e the current tiddler. (That field is created if it didn’t exist)
…and, conversely, unchecking a [x]
in view mode adds the checkbox prompt to an unchecked
field in the hosting tiddler. (Again, that field is created if it didn’t exist)
The same two checked
/unchecked
fields are used for all checklists in the one hosting tiddler.
If there are multiple instances of “[] foo”, either in one checklist or spread over multiple checklists in the current tiddler, then checking one instance of “foo” will make all those checkboxes be checked. (If both [] foo
and [x] foo
appears in the same edit view tiddler, then I guess the last click decides where the string is added and removed.
…
How are things like bullet lists implemented in TW anyways?