Lexpedite / clean

MIT License
3 stars 0 forks source link

One-line empty sections #6

Open Gauntlet173 opened 2 years ago

Gauntlet173 commented 2 years ago

Right now to create an empty section, you need to put the first sub-section on a lower line.

1.
  (1) Text goes here.
  (2) Text goes here.

It would be nice if it was possible to avoid the need for the newline, which is more consistent with the printed style.

1. (1) Text goes here.
   (2) Text goes here.

Might be a thing that we could do in the pre-processing stage, when we annotate the indentations.

Then the question is whether it is possible to do it with a header that is attached to the first sub-section.

Header1
1. (1) Section1

   Header2
   (2) Section2