~adnano/gmnitohtml

6c1bfbdc29007721648d8f572fa22987a038844d — Adnan Maolood 3 years ago d796439
Update documentation
1 files changed, 11 insertions(+), 1 deletions(-)

M geminitohtml.1.scd
M geminitohtml.1.scd => geminitohtml.1.scd +11 -1
@@ 6,8 6,18 @@ geminitohtml - convert Gemini text to HTML

# SYNOPSIS

_geminitohtml_
_geminitohtml_ [-t <template>]

# DESCRIPTION

The geminitohtml utility reads Gemini text from the standard input and writes HTML to the standard output.

# OPTIONS

\-t <template>
	Specifies the path to a custom template to use for HTML output. The template must use the Go templating language and will be provided with the following data:

	- *Title*: The title of the Gemini text document, extracted from the first level-one heading. Empty if no level-one heading was found.
	- *Content*: The HTML-converted contents of the parsed Gemini text.

	For more information on the Go templating language, see https://golang.org/pkg/text/template/.