jgm / djot.js

JavaScript implementation of djot
MIT License
141 stars 15 forks source link

renderDjot: adjust task_list indent to 6 #73

Closed black-desk closed 6 months ago

black-desk commented 6 months ago

Signed-off-by: black-desk me@black-desk.cn

black-desk commented 6 months ago

As order list is aligned after marker, I think task list should also be aligned after - [X]

jgm commented 6 months ago

Not sure what is best here. I'd be interested in comments from others. Choice is between

- [X] my list item
  wrapped.

and

- [X] my list item
      wrapped.
jgm commented 6 months ago

I think I prefer the 6 indent, so I'll merge this, but could reconsider.

black-desk commented 6 months ago

I think I prefer the 6 indent, so I'll merge this, but could reconsider.

We could support some format options later.