slw2gmi

Конвертор из slweb-а у Џемини
git clone https://git.sr.ht/~strahinja/slw2gmi
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

slw2gmi.1.in (1611B)


      1 .\" This program is licensed under the terms of GNU GPL v3 or (at your option)
      2 .\" any later version. Copyright (C) 2021-2024  Страхиња Радић.
      3 .\" See the file LICENSE for exact copyright and license details.
      4 .Dd %DATE%
      5 .Dt SLW2GMI 1
      6 .Os
      7 .Sh NAME
      8 .Nm slw2gmi
      9 .Nd slweb to Gemini converter
     10 .Sh SYNOPSIS
     11 .Nm
     12 .Fl h | Fl \-help | Fl V | Fl \-full\-version | Fl v | Fl \-version
     13 .Nm
     14 .Oo Fl d Ar directory | Fl \-basedir Ar directory Oc
     15 .Oo Fl p Ar URL | Fl \-global\-link\-prefix Ar URL Oc
     16 .Op Ar filename
     17 .Sh DESCRIPTION
     18 .Nm
     19 is a converter from
     20 .Xr slweb 1
     21 to Gemini format.
     22 Although both are similar to Markdown, the two formats differ enough to warrant
     23 a full converter.
     24 .
     25 .Bl -tag -width Ds
     26 .It Fl d Ar directory , Fl \-basedir Ar directory
     27 Set the base directory for includes
     28 .Pf "(" Ql {include}
     29 and
     30 .Ql {incdir} Ns
     31 ).
     32 Defaults to the current directory.
     33 .It Fl h , Fl \-help
     34 Print the usage information screen.
     35 .It Fl p Ar URL , Fl \-global\-link\-prefix Ar URL
     36 Set
     37 .Ar URL
     38 as a global prefix for relative links.
     39 For example, this can be useful when generating Gemini code which needs to keep
     40 relative links pointing to web URLs.
     41 .It Fl V , Fl \-full\-version
     42 Print full version (like
     43 .Fl v Ns
     44 ), followed by copyright notice, and exit.
     45 .It Fl v , Fl \-version
     46 Print program version and commit date, and exit.
     47 .El
     48 .Pp
     49 Refer to
     50 .Xr slweb 1
     51 manual for the description of
     52 .Pa .slw
     53 file format.
     54 .Sh EXIT STATUS
     55 .Ex -std
     56 .Sh AUTHORS
     57 .An Strahinya Radich Aq Mt contact@strahinja.org ,
     58 2021\-2024
     59 .Sh BUGS
     60 Bugs can be reported using the ticket tracker at:
     61 .Lk https://\:todo.sr.ht/\:~strahinja/\:slw2gmi