Text blocks / Multi-line string literals

Stephen Colebourne scolebourne at joda.org
Mon May 13 23:41:35 UTC 2019


On Tue, 14 May 2019 at 00:08, John Rose <john.r.rose at oracle.com> wrote:
> >> 3) The proposal is a little bit hostile to Markdown, because markdown
> >> relies on significant whitespace at the end of the line. I'd really
> >> like to see a new escape \s for \u0020 added at the same time as this
> >> feature to ensure there is a way out of the problem.
> >
> > That seems like a great idea to me…
>
> Just to rub everyone's nose in it again, \0020 is currently
> indistinguishable from a plain space.  So \s (which I support)
> would be a new escape for \040 and **NOT** for \u0020.

Just to be clear, I'm proposing that \s is processed at the same time
as \t, \r and \n in the text block scheme, ie at the end. And at that
point it is fine to be a normal space.

Stephen


More information about the amber-dev mailing list