jgm / djot

A light markup language
https://djot.net
MIT License
1.63k stars 43 forks source link

Tight list and attributes #200

Open jgm opened 1 year ago

jgm commented 1 year ago
{.outer-style}
* a

  {.inner-style}
  * b
* c

Ideally the use of the "inner-style" attribute wouldn't force the outer list to be loose. (If you remove the {.inner-style} line, the outer list becomes tight, but the presence of attributes shouldn't affect tight/loose calculations like this.)

vassudanagunta commented 1 year ago

My proposal in #201 would solve this conundrum.