NAME
slw2gmi
—
slweb to Gemini converter
SYNOPSIS
slw2gmi |
-h | --help |
-V | --full-version |
-v | --version |
slw2gmi |
[-d directory |
--basedir directory]
[-p URL |
--global-link-prefix URL]
[filename] |
DESCRIPTION
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.
-d
directory,--basedir
directory- Set the base directory for includes
(‘
{include}
’ and ‘{incdir}
’). Defaults to the current directory. -h
,--help
- Print the usage information screen.
-p
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.
-V
,--full-version
- Print full version (like
-v
), followed by copyright notice, and exit. -v
,--version
- Print program version and commit date, and exit.
Refer to slweb(1) manual for the description of .slw file format.
EXIT STATUS
The slw2gmi
utility exits 0 on
success, and >0 if an error occurs.
AUTHORS
Strahinya Radich <contact@strahinja.org>, 2021-2024
BUGS
Bugs can be reported using the ticket tracker at: https://todo.sr.ht/~strahinja/slw2gmi