~adnano/gmnitohtml

ref: 0.1.1 gmnitohtml/gmnitohtml.1.scd -rw-r--r-- 728 bytes
85ce6d82Adnan Maolood Use self-closing <br> tags 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
gmnitohtml(1)

# NAME

gmnitohtml - convert Gemini text to HTML

# SYNOPSIS

*gmnitohtml* [-t _template_] < _input_

# DESCRIPTION

The gmnitohtml 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/.