.Dd November 6, 2020 .Dt GMITOHTML 1 .Sh NAME .Nm gmitohtml .Nd convert gemtext to HTML .Sh SYNOPSIS .Nm gmitohtml .Op Fl h .Op Fl i Ar input .Op Fl o Ar output .Sh DESCRIPTION .Nm gmitohtml reads gemtext from stdin and converts it to HTML written to stdout. .Pp Options are as follows: .Bl -tag -width Ds .It Fl o Print usage help message. .It Fl i Specify input file instead of stdin. .It Fl o Specify output file instead of stdout. .El .Sh EXAMPLES Read from stdin, output to stdout: .Bd -literal -offset indent $ gmitohtml < index.gmi > index.html .Ed .Pp Use alternative input/output: .Bd -literal -offset indent $ gmitohtml -i index.gmi -o index.html .Ed .Pp Use only alternative input then redirect stdout output: .Bd -literal -offset indent $ gmitohtml -i index.gmi > output.html .Ed .Sh CAVEATS This tool processes input and output in one chunk, meaning that streaming from and into pipes is not an option. .Sh AUTHOR .An Ali Fardan Aq Mt raiz@stellarbound.space