Questions about ``` lines
plugd
plugd at thelambdalab.xyz
Thu May 21 08:36:39 BST 2020
Hi Katarina,
Katarina Eriksson writes:
> ``` @embed image/png
> ``` width=300 height=200
> => path/to/image.png Alt. text
>
> I don't think we need to close this window, but I also don't see a need to
> allow consecutive ``` lines.
I think I understand your worry, but wouldn't it be difficult to close
this window? To exclude this possibility requires adding this special
exclusion to the spec, and for every client to do something special to
produce an error in the case of consecutive ``` lines.
Even if it were in the spec, I'd be very tempted to just allow it in my
client, just because ignoring this restriction would allow for a cleaner
implementation and would produces no issues with correctly formatted
text/gemini pages, while also allowing some incorrectly formatted pages
to be displayed. (As a user, I honestly don't care whether a gopher map
or text/gemini file meets the spec or not, I just want to read it.)
Just my random thoughts,
Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200521/e3fbbea0/attachment.sig>
More information about the Gemini
mailing list