💾 Archived View for tilde.club › ~filip › tech › cheatsheet › gemtext.gmi captured on 2023-07-22 at 17:19:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

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

gemtext

Gemtext is a text format for Gemini Protocol. It is similar to Markdown albiet with less features.

Text is written using "long lines". Short lines separated by newline will not be wrapped by the client. It is therefore best to write so that each line is a paragraph.

Basic syntax

+----------------------------------------------------------------+
| ELEMENT            | SYNTAX                                    |
|--------------------|-------------------------------------------|
| Header             | # H1                                      |
|                    | ## H2                                     |
|                    | ### H3                                    |
|--------------------|-------------------------------------------|
| Unordered list     | * Item                                    |
|                    | * Team                                    |
|                    | * Mate                                    |
|--------------------|-------------------------------------------|
| Quote              | >To be or not to be...                    |
|--------------------|-------------------------------------------|
| Link               | => gemini://example.com Optional title    |
|--------------------|-------------------------------------------|
| Pre-formattex text | ```trapped stickman                       |
|                    |  o_                                       |
|                    | /|   Help! I'm stuck between backticks!   |
|                    |  |\                                       |
|                    | ```                                       |
+----------------------------------------------------------------+