💾 Archived View for rawtext.club › ~sloum › geminilist › 002657.gmi captured on 2020-09-24 at 01:03:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

<-- back to the mailing list

A proposed scheme for parsing preformatted alt text

Sean Conner sean at conman.org

Thu Sep 10 21:19:06 BST 2020

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

It was thus said that the Great A. E. Spencer-Reed once stated:

When parsing closing lines with extra text after the "```", should
they just be treated as part of the block? ex. should
```Alt Text
1
```2
3
```
4
look like
+------------------------------+
| 1 |
| ```2 |
| 3 |
+------------------------------+
4
or
+------------------------------+
| 1 |
+------------------------------+
3
+------------------------------+
| 4 |
+------------------------------+

The second example. From the spec(gemini://gemini.circumlunar.space/docs/specification.gmi):

Any text following the leading "`" of a preformat toggle line which toggles preformatted mode off MUST be ignored by clients.

-spc