Re: Crowd Source Request: Examples of pre in pages you use.

>  when line-wrapping introduces additional line-breaks, *THEN* it impacts the formatted meaning,

I don’t think it is that binary, there are mitigations, like there are with code samples.

Starting with your Haiku example, if you assume that this symbol represented a linebreak: §
(I can’t see how to insert a line break symbol, just pretend!)

The summer river: §

although there is a
  bridge, my horse §

goes through the
  water.  §


(The email version of this has light grey shading on the top & bottom sentences, that will be lost for some email clients and in the archive.)

I’m not saying that should be the default view, but it is a technique that could be used to maintain the meaning created by the formatting.

There is a continuum here:

  *   Most text shouldn’t use a pre or have a fixed-width (i.e. standard text that reflows now).
  *   For some types of text it makes sense to have in a pre, but it should wrap fairly easily.
  *   For some types of text it makes sense to have in a pre, but it could wrap with great difficulty.
  *   Some text could only work in a fixed-format (definitely essential).

Let’s start with sufficient techniques at the top-end of that, and work down until it gets too difficult to be practical.

It was (and still is) a good idea to gather some examples though, the more the better.

-Alastair

Received on Thursday, 31 January 2019 17:06:11 UTC