<-- back to the mailing list

Questions about ``` lines

Katarina Eriksson gmym at coopdot.com

Thu May 21 07:31:19 BST 2020

- - - - - - - - - - - - - - - - - - - 

Hello Geminauts

1. Are ``` lines to be block markers or mode switches?

From the discussions on the the list, it seems like they are block markers.The current spec calls them "toggle lines" that toggle "pre-formatted modebeing on or off" which suggests it's a mode switch.

The way I interpret the difference between the two is that blocks need toclose before end-of-file to be valid and in the other case the file can endin any mode.

This might be splitting hairs but I want this to be clear.

2. Is it desirable to close the window of extensibility?

When reading the archives, I noticed that ``` lines used to only work ifthey had no trailing characters. This was changed to be less surprisingwhen someone writes ```pythonas if it was a markdown code block.

There is a discussion in another thread to use this space for alternativetext when entering pre-formatted mode but I have other extensions on mymind. These extensions I will show you are not proposals I want to see.

``` Visual browsers will ``` not display these lines. ``` So as long as there are ``` an even number of them, ``` I can get away with using ``` them as comment lines.

Someone could also construct a browser that embeds media files with afallback to a link for other browsers:

``` @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 toallow consecutive ``` lines.

These are real questions with added context and not opinions or rhetoricdressed as questions.

-- Katarina-------------- next part --------------An HTML attachment was scrubbed...URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200521/e1bb4cae/attachment.htm>