💾 Archived View for darknesscode.xyz › notes › gemini-markup.gmi captured on 2024-02-05 at 09:42:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-05)

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

The Gemtex Markup

By Achim - Mon 12 Apr 2021

The gemini markup text is simple, there isn't almost no learning cure to get into the markup.

Text

There isn't to much to talk about the text itself. Like this one is one paragraph this means one long line is.

A another paragraph, just leave a blank line in between to make paragraphs

Headings

Gemini only supports three levels of headings

# Heading

## Sub-heading

### Sub-sub-heading

There is only one detail to follow, you must leave a blank space after the hashtag (#)

List

The format for a list is simple as


In here you must leave a blank space after the asterisk (*)

Blockquotes

Blockquotes start with a greater than sing (>) per line

> Gemtext supports blockquotes. The quoted content is written as a single long line

Or you can make a long single line and separate each block with (>)

Links

The only problem with links in gemini is that inline links are not supported, but the syntax is simple as

=> https://example.com    A cool website
=> gopher://example.com   An even cooler gopherhole
=> gemini://example.com   A supremely cool Gemini capsule
=> sftp://example.com

The only rule here is that you must leave a black space after the address, this is you want to have a nice name for the link. Also you can do somethin like

=>https://example.com A cool website
=>gopher://example.com      An even cooler gopherhole
=> gemini://example.com A supremely cool Gemini capsule
=>   sftp://example.com

Gemini not complain to much with links. If you leave a link without name the browser will show the full address.

Preformatedd Text

A line which starts with three backticks (```) and end with tree of them. To show a example of this is hard to do it in here.

But all the headers you see with fancy latter use the preformateed text

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode