SLW2GMI(1) General Commands Manual SLW2GMI(1)

slw2gmislweb to Gemini converter

slw2gmi -h | --help | -V | --full-version | -v | --version

slw2gmi [-d directory | --basedir directory] [-p URL | --global-link-prefix URL] [filename]

slw2gmi is a converter from slweb(1) to Gemini format. Although both are similar to Markdown, the two formats differ enough to warrant a full converter.

directory, --basedir directory
Set the base directory for includes (‘{include}’ and ‘{incdir}’). Defaults to the current directory.
, --help
Print the usage information screen.
URL, --global-link-prefix URL
Set URL as a global prefix for relative links. For example, this can be useful when generating Gemini code which needs to keep relative links pointing to web URLs.
, --full-version
Print full version (like -v), followed by copyright notice, and exit.
, --version
Print program version and commit date, and exit.

Refer to slweb(1) manual for the description of .slw file format.

The slw2gmi utility exits 0 on success, and >0 if an error occurs.

Strahinya Radich <contact@strahinja.org>, 2021-2024

Bugs can be reported using the ticket tracker at: https://todo.sr.ht/~strahinja/slw2gmi

July 8, 2024 OpenBSD 7.5