FW: Text reflow woes (or: I want bullets back!)y
Aaron Janse
aaron at ajanse.me
Mon Jan 20 18:17:28 GMT 2020
> I'm of the opinion that there should only be a fixed number of header levels.
> It keeps the matching logic flat and straightforward. Three levels is few
> enough that most clients should be able to come up with distinct styles to
> display them. Fixed header lines are trivial to parse and provide a lot of
> utility for organizing a document and linking to sub-sections.
I like that this would discourage the "markdown hacking" seen on GitHub where
unnecessary depth is used to make the HTML render look nicer.
OTOH, it would be easy for authors to:
* rotate header colors
* use the same colors for depth 4+ that they use for depth 3
> Quote blocks with ">" would be ok if we could count on them being only a single
> line long. However, many quotes will necessarily include line breaks that
> should be displayed together in a single block. This complicates parsing in the
> same way that lists do, so I think that quotes should also be omitted for the
> same reason.
I'm strongly against reflowing quote blocks. I understand that we don't want
to display lists inside quotes in a fancy way, but I still think that we
shouldn't break them:
```
> My opinion:
> * these lines
> * should not be
> * reflowed
```
Speaking of which, should we explicitly disallow fancy-rendering lists within
quotes, or leave the choice up to client authors?
> If you want to display something like a quote from a mailing list message, I
> think that would be a perfect candidate for copying it into a preformat
> block. For other types of quotes, stick them between two horizontal rules to
> separate them from the surrounding text.
Maybe. I still don't like the idea of quotes not wrapping with display width.
> And then what happens when
> somebody uses more than 26 second level list items and we run out of
> lowercase letters to use?
Simply use multiple letters:
```
a. lorem ipsum
b. lorem ipsum
[...]
y. lorem ipsum
z. lorem ipsum
aa. lorem ipsum
ab. lorem ipsum
ac. lorem ipsum
```
However, this may be complex. I'll try to write a simple client tonight to see
how difficult all this is.
Cheers!
More information about the Gemini
mailing list