Writing Gemini (.gmi) text


Gemini is a text format with a very limited set of features. While Flounder converts Gemini files to HTML so they can be shown in a web browser, Gemini itself is much simpler than HTML: there are only a handful of easy-to-use tags. To use a tag, you must start the line with that tag.


Headers:

# Big
## Smaller
### Smallest

Big

Smaller

Smallest


Hyperlinks:

Links can be absolute (https://google.com) or relative (index.gmi). You can link to .gmi files or any file that you upload, provided it is less than 128KB in size. I recommend using schemaless URLs such as //alex.flounder.online as they will properly show up on both gemini and http pages.

=> https://google.com
=> index.gmi
=> //flounder.online Link with text
=> tree.jpg

https://google.com

index.gmi

Link with text

tree.jpg


Lists:

* Item 1
* Item 2
* Item 3

Quotes:

>Hello!
Hello!

Raw unformatted text:

​```
​# raw text
​```

# raw text

For code ascii art, it is recommended that you annotate your text like this for accessibility purposes (e.g. low-vision users):


 ```a text-based heart
 _░▒███████
 ░██▓▒░░▒▓██
 ██▓▒░__░▒▓██___██████
 ██▓▒░____░▓███▓__░▒▓██
 ██▓▒░___░▓██▓_____░▒▓██
 ██▓▒░_______________░▒▓██
 _██▓▒░______________░▒▓██
 __██▓▒░____________░▒▓██
 ___██▓▒░__________░▒▓██
 ____██▓▒░________░▒▓██
 _____██▓▒░_____░▒▓██
 ______██▓▒░__░▒▓██
 _______█▓▒░░▒▓██
 _________░▒▓██
 _______░▒▓██
 _____░▒▓██
 ```

_░▒███████
░██▓▒░░▒▓██
██▓▒░__░▒▓██___██████
██▓▒░____░▓███▓__░▒▓██
██▓▒░___░▓██▓_____░▒▓██
██▓▒░_______________░▒▓██
_██▓▒░______________░▒▓██
__██▓▒░____________░▒▓██
___██▓▒░__________░▒▓██
____██▓▒░________░▒▓██
_____██▓▒░_____░▒▓██
______██▓▒░__░▒▓██
_______█▓▒░░▒▓██
_________░▒▓██
_______░▒▓██
_____░▒▓██

(Mouseover the heart in some browsers)


/