💾 Archived View for gemini.circumlunar.space › users › druxx › my-gemini-notes.gmi captured on 2022-03-01 at 15:32:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

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

CHEAT SHEET

~HOME~

This is just a quick TAG reference for Gemini with some other important info below.

Go Here For More Info

Gemini takes inspiration from gophermaps and from Markdown.
The format permits richer typographic possibilities than
the plain text of Gopher, but remains extremely easy to parse.  The
format is line-oriented, and a satisfactory rendering can be achieved
with a single pass of a document, processing each line independently.

################################################
Core Line Types:
################################################
----------------------------------------
Text Lines
----------------------------------------

  viewport.
  



	* Text should be written in a single long line (if you with).
	

of text lines by altering the font, font size, text and
background colour, etc.
	* KEY WORD: "MAY" (Something to keep in mind when you format)


be formatted as a blank space. Equal to <br>


the content will display neatly on clients whose display device is as
wide as the hard-wrapped length or wider, but will appear with
irregular line widths on narrower clients


their text lines, only of their actual textual content.

----------------------------------------
Link Lines:
-----------------------------------------
Lines beginning with the two characters "=>" are link lines, which
have the following syntax:

=>[<whitespace>]<URL>[<whitespace><USER-FRIENDLY LINK NAME>]<CR><LF>

where:


  tabs
  

  optional.
  

  not include a scheme, a scheme of gemini:// is implied.
  

  encouraging neat, list-like structure.
  

hosted via other protocols.
  
All the following examples are valid link lines:

=> gemini://example.org/
=> gemini://example.org/ An example link
=> gemini://example.org/foo     Another example link at the same host
=>gemini://example.org/bar Yet another example link at the same host
=> foo/bar/baz.txt      A relative link
=>      gopher://example.org:70/1 A gopher link

-----------------------------------------
Preformatted Toggle Lines (3 backticks)
-----------------------------------------
" ``` "  - Toggle preformatted mode on/off. Equal to <pre></pre>.

-----------------------------------------
Preformatted Text Lines
-----------------------------------------

look like.


appear incorrectly when treated as such should be enclosed beween 
preformatting toggle lines.



###########################################################
Advanced Line Types: 
###########################################################

These are more advanced line types that, more than likely, will
only be recognized in more advanced (think graphical) clients.
These will be represented as text lines if the client doesn't
support these line types. 

-----------------------------------------
Heading Lines
-----------------------------------------
#    - H1 - Heading 1 - Large text
##   - H2 - Heading 2 - Medium text
###  - H3 - Heading 3 - Small text

------------------------------------------
Unordered List Items
------------------------------------------



####################################################################
OTHER NOTES TO KEEP IN MIND
####################################################################

HTML, Markdown, LaTeX, etc.




	* This is an unprivilleged port
	* Use of TLS for Gemini transactions is mandatory
	* Use of the Server Name Indication (SNI) extension to TLS is also
      mandatory, to facilitate name-based virtual hosting.
    * Servers MUST use TLS version 1.2 or higher and SHOULD use TLS version
      1.3 or higher.  Clients MAY refuse to connect to servers using TLS
      version 1.2 or lower.
	

its accessibility and maximises the utility of simple 
clients which support only UTF-8.


might be thought of as best served some other 
way. Of course, because Gemini supports linking 
to other online content via any protocol with a
URL scheme, it's still possible to link from
a Gemini document to a large file served via
HTTPS, BitTorrent, IPFS or whatever else
tickles your fancy.