As some are aware, you can create checkboxes that are not tasks by creating a block and then using shift enter, before entering the below
* [ ] Item 1
* [ ] Item 2
This works great! I love being able to use checkboxes that are not supposed to be tasks, for example to list configurations that I may go back to and change.
However, if the code does not have a space, it still renders exactly the same way but cannot be clicked on to change the checkbox to ‘done’.
The expected markdown would be * [ ] Item 1
However, Logseq allows you to create a checkbox with * [ ]Item 1, except the checkbox is functionally broken if done so this way.
Given that both methods create a checkbox, it is quite easy to accidentally create a checkbox with no space after the bracket - causing that checkbox to not work. If not reading the raw markdown, for example if you type very quickly - it is possible to not notice this at all until you come back to the document later to check a box.
You probably did not read the message that states that you need to shift enter, which moves to the next line without actually creating a new line.
The first checkbox item must also not be the first item in a block. I.E, you should set a title for the list and then shift + enter to create each checkbox.
Correct:
- Checkboxes:
* [ ] One
* [ ] Two
* [ ] Three
Incorrect:
- Checkboxes:
- * [ ] One
- * [ ] Two
- * [ ] Three
No problem, it definitely wasn’t intuitive and nor was it documented when I first discovered it.
My original post also does not mention the requirement for a header - likely I did not realise and was already using a header (my main use for checkboxes is with templates to create common tasks that I need to complete)