diff --git a/lib.go b/lib.go index 36da95d..04b8488 100644 --- a/lib.go +++ b/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) }