Escaping in gemtext
Ali Fardan
raiz at stellarbound.space
Tue Nov 10 02:41:59 GMT 2020
On Mon, 9 Nov 2020 21:08:34 -0500
Sean Conner <sean at conman.org> wrote:
> I was about to recommend the zero-width space, and I even created a
> document for this:
>
> gemini://gemini.conman.org/test/escape.gemini
>
> but I did notice that when the text is selected, the zero-width space
> is also selected (as it should). I have a second file
>
> gemini://gemini.conman.org/test/escape2.gemini
>
> that uses " \b" (space, backspace character) which didn't work with
> cut-n-paste (at least on Firefox on Mac OS-X) but if I viewed the
> resulting file in a terminal and then did a cut-n-paste, the output
> was as expected.
Here you're making assumptions about how \b will be rendered, I'm not
all against your approach, but I'm not also confident that all
implementations will render this properly.
> So the question is---how often are you going to quote material
> where a line starts with ```? Is it often enough to worry about it?
> Or could you place the example as a plain text file and link to it?
Indeed, you could also provide it in a separate text/plain file as acdw
suggested, my point is it is just annoying that no matter what I do, I
can't have a line that starts with '>', '#', '=>', '*', in gemtext,
regardless of how often anyone is gonna ever need that.
However, until I explicitly have an example of a use case that might
require that, I'm not going to propose anything at all, even if others
did, it's up to Solderpunk to approve it.
More information about the Gemini
mailing list