Markdown - Multi checkbox on one line

I have a markdown issue in a github comment.

- [ ] [ ] [ ] [ ] [ ] item 1
- [ ] - [ ] - [ ] - [ ]item 2

      

With the above code, only the first checkbox is ok :(

+3


source to share


1 answer


The documentation doesn't mention support for multiple checkboxes on one line. I suspect this is not possible. However, if you want to have multiple checkboxes for the same item, you can create a nested list. Like this:



- [ ] item 1
    - [ ] item 1-1
    - [ ] item 1-2
    - [ ] item 1-3
    - [ ] item 1-4
- [ ] item 2
    - [ ] item 2-1
    - [ ] item 2-2
    - [ ] item 2-3
    - [ ] item 2-4

      

+5


source







All Articles