i have a issue with markdown in github comment.
- [ ] [ ] [ ] [ ] [ ] item 1
- [ ] - [ ] - [ ] - [ ]item 2
With above code, only the first checkbox is ok :(
Although there is no option for inline checkboxes using standard [x],
you can use emoji for your purpose.
Here is the emoji code in markdown:
:black_square_button: empty checkbox
:ballot_box_with_check: completed checkbox 1
:white_check_mark: completed checkbox 2
:heavy_check_mark: completed checkbox 3
And the expected result:
Rendered as inline
The documentation makes no mention of supporting multiple checkboxes on one line. I suspect it is not possible. However, if you want to have multiple checkboxes for one 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With