1
0

Update lib.go

This commit is contained in:
arpio 2025-11-03 01:29:31 +01:00
parent 31e11a0ab1
commit 68aeb12ecd

2
lib.go
View File

@ -277,6 +277,8 @@ func Doc(e ...Entry) Document {
return Document{entries: e} 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 { func Teletype(out io.Writer, d Document) error {
return renderTeletype(out, d) return renderTeletype(out, d)
} }