Contents of this page:
Reading Gemtext
Headings
Heading Types
Reading Headings
Lists
List Examples
Links
Link Examples
Quotations
Quoted Text Examples
Preformatted Text
Tables
Programming Code
ASCII Art
Summary

👴 jdcard

Reading Gemtext

There are several good guides to help people write in the gemtext format. Here is a brief guide to reading gemtext documents.

The programs that display nicely-formatted gemtext documents work by reading only the first two or three characters at the beginning of each line of text. In this document I will insert a blank space at the beginning of lines that demonstrate gemtext markup as a way to show you what the markup looks like (in case you happen to read this file in a gemtext browser).

Gemtext is written as one long line of text for each paragraph. Programs that are designed to display gemtext automatically force any text that is too long to fit in your window onto the next line. If you're reading gemtext in a text editor you can achieve the same effect in many editors by enabling their "word wrap" or "soft wrap" features.


Headings

Headings are used in a document to show where different sections of the document begin.

Heading Types

Many word processor programs provide an option to insert different types of headings into documents you write. Gemtext provides three types of headings. These are similar to what you might see in HTML code as

,

, and

level headings.

#   Level 1 Heading -- many documents have only one Level 1 heading, at the 
                       very top of the document, that serves as a title.
##  Level 2 Heading -- these are often used to indicate the various major 
                       sections of the document.
### Level 3 Heading -- indicates a subsection of a larger portion the document.

Reading Headings

When you encounter a line that begins with one or more "#" characters you know that this line introduces a new section of the document. More "#" characters indicate lesser levels of importance, or greater levels of detail, within the document.


Lists

Another feature seen in word processing software is the creation of bulleted lists. Gemtext supports one type of list. It is what HTML designates as

Mastodon social.vivaldi.net Mastodon social.linux.pizza Mastodon qoto.org 🌐 jdcard.tilde.team

Search this site at marginalia.nu