$ 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.