Update lib.go
This commit is contained in:
parent
31e11a0ab1
commit
68aeb12ecd
2
lib.go
2
lib.go
@ -277,6 +277,8 @@ func Doc(e ...Entry) Document {
|
||||
return Document{entries: e}
|
||||
}
|
||||
|
||||
// Teletype can be used to render the input document in plain text usable to print in TTY terminals, typically
|
||||
// directly to the standard output.
|
||||
func Teletype(out io.Writer, d Document) error {
|
||||
return renderTeletype(out, d)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user