+++ Ruben [Jan 30 15 13:43 ]:
- However, many implementers (Github, this forum) have set a different standard. I’m not use which standard has more users, but I’d be interested to see which standard has more proponents.
Note that github actually has two standards. For READMEs and the like, it interprets newlines as soft breaks. In issue comments, it interprets newlines as hard breaks.
- This is important if you use a text editor which does not soft-wrap. I think there may be fewer people who do so than you think (e.g. Microsoft Word, the presumably most widespread Text Editor of all by a far margin soft wraps and so do textareas in all browsers I know).
Text boxes are frequently wider than the ideal line width (as are editor windows). And what if you want to make your lists pretty, like this?
2. This is important if you use a text editor which does not
soft-wrap. I think there may be fewer people who do so than you
think (e.g. Microsoft Word, the presumably most widespread Text
Editor of all by a far margin soft wraps and so do textareas in
all browsers I know).
I think that looks much better than
2. This is important if you use a text editor which does not soft-wrap. I
think there may be fewer people who do so than you think (e.g. Microsoft Word,
the presumably most widespread Text Editor of all by a far margin soft wraps
and so do textareas in all browsers I know).
which is how it might appear without newlines in a text box that soft-wraps.
Similarly, I think
> This is important if you use a text editor which does not
> soft-wrap. I think there may be fewer people who do so than you
> think (e.g. Microsoft Word, the presumably most widespread Text
> Editor of all by a far margin soft wraps and so do textareas in
> all browsers I know).
looks better than
> This is important if you use a text editor which does not soft-wrap. I
think there may be fewer people who do so than you think (e.g. Microsoft Word,
the presumably most widespread Text Editor of all by a far margin soft wraps and
so do textareas in all browsers I know).
It’s clearer that the whole thing is a block quote.
One of the guiding ideas of Markdown is that the source text should be highly readable on its own, without the need for any special rendering.
People who think this looks terrible have an easy way out: don’t put in line breaks if you don’t want them to appear later. This may be bad for users of certain text editors, which I think are few in number.
It goes both ways. People who want a newline to be interpreted as a hard break have an easy way out: add a backslash before it.
Let’s compare. If newlines count as hard breaks, then:
- it becomes impossible to hard-wrap text, so people who prefer that are just out of luck, and
- it becomes slightly easier to create hard breaks inside a paragraph (which is rarely called for in good typography)
With the current default:
- it is possible to hard-wrap text, or not to do so, depending on the writer’s preferences, and
- it is not at all difficult to create hard breaks inside paragraphs (in those rare cases when this is needed); you just need a backslash at the end of the line.
I think it’s better to keep more possibilities open for writers, rather than restricting them.
Even if the spec stays the same, I think data on users’ preferred solution in addition to information what population they’re part of may lead implementers to choose informed defaults (e.g. a forum for poets would use a different standard than a forum for xxx).
Sure. That is why the spec leaves the rendering of softbreaks as an option. However, I think that ultimately something like reST line blocks would be a better option for poetry, addresses, and the other cases where hard breaks make sense.