Text reflow woes (or: I want bullets back!)y
solderpunk
solderpunk at SDF.ORG
Sat Jan 18 23:22:39 GMT 2020
On Sat, Jan 18, 2020 at 11:13:50PM +0000, James Tomasino wrote:
> What constitutes the end of an ordered list? Unordered lists are "dumb"
> in that they just display their appropriate depth no matter what, but
> the ordered lists need to keep track of that state. Does a non-list line
> break the list? What about empty lines?
>
> + is this list
>
> + still counting
>
> + up to 3?
Argh, excellent question. It seems like something vaguely like the
notion of a block has crept in!
This is a timely question, too. I'm goofing around trying to implement
some of these new ideas in AV-98 (and so far I'm very pleased with the
results - # headers are made bold with ANSI escape codes, and unordered
lists get nice bullets and nice spacing, looks great!) and had to deal
with exactly this. For testing I just decided that anything other than
an ordered list line breaks a list and resets the counter. I'm open to
other ideas but I worry that anything other than this is liable to be
too complicated.
Cheers,
Solderpunk
More information about the Gemini
mailing list