From 68aeb12ecd4b6fff3750f98e66bbc32da9255691 Mon Sep 17 00:00:00 2001 From: arpio Date: Mon, 3 Nov 2025 01:29:31 +0100 Subject: [PATCH] Update lib.go --- lib.go | 2 ++ 1 file changed, 2 insertions(+) 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) }