News for hackers. Stuff that matters.
Re:Lists, more lists, and the power of checkboxes (2019) by high_priest on Tuesday August 03, 2021 @07:22PM (#28055484)
- "If I want my items on separate lines"

What's wrong with

- [ ] Text

- [ ] Text2

Re:Lists, more lists, and the power of checkboxes (2019) by nemosaltat on Tuesday August 03, 2021 @07:58PM (#28055746)
This works in the raw markdown edit mode, but in preview mode, if I write this:

<details> <summary>People</summary> [ ] Bob [ ] Alice [x] Nemosaltat </details>

Preview mode will yield this (all on one-line):

[ ] Bob [ ] Alice [x] Nemosaltat

It’s collapsible, but not visually pleasing for longer lists.

My solution has been to do this:

<details> <summary>People</summary> [ ] Bob <br /> [ ] Alice <br /> [x] Nemosaltat <br /> </details>

But it’s less pleasing to look at in edit mode, and I have to remember to append the break tags.