gmi2html

command module
v0.0.0-...-ba86357 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 7 Imported by: 0

README

Convert GMI files to HTML

gmi2html is a text/gemini to HTML converter written in Go:

$ go get git.sr.ht/~henryprecheur/gmi2html
$ go install git.sr.ht/~henryprecheur/gmi2html

Its design is inspired from Rob Pike’s talk: Lexical Scanning in Go. The state of the lexer is kept in a callback, this neat trick simplifies the lexer, and makes it more efficient. gmi2html reads its input from stdin and writes the result to stdout, and there’s no flag:

$ gmi2html < input.gmi > output.html

It doesn’t support any extension like list, and heading yet.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL