effect-io-ai

Package: @effect/printer-ansi
Module: AnsiDoc

AnsiDoc.render

Text leaves are rendered verbatim, including control characters. Apply sanitize to untrusted subtrees before writing the result to a terminal. Use the raw document when embedded terminal sequences are trusted and intentional.

Signature

declare const render: { (config: AnsiDoc.RenderConfig): (self: AnsiDoc) => string; (self: AnsiDoc, config: AnsiDoc.RenderConfig): string; }

Source

Since v1.0.0