zio.blocks.docs.TerminalRenderer
Renderer for ANSI terminal output.
Converts markdown AST elements to colorful, formatted terminal output using ANSI escape codes. The output is designed to be readable on both light and dark terminal backgrounds.
Attributes
Source
TerminalRenderer.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Matchable
class Any
Self type
Members list
Render a Doc to an ANSI-colored terminal string.
Render a Doc to an ANSI-colored terminal string.
Value parameters
doc
The document to render
Attributes
Returns
ANSI-colored string for terminal display
Source
TerminalRenderer.scala
Render a Block to its terminal representation.
Render a Block to its terminal representation.
Value parameters
block
The block element to render
Attributes
Returns
ANSI-colored string for this block
Source
TerminalRenderer.scala
Render a single inline element.
Render a single inline element.
Value parameters
inline
The inline element to render
Attributes
Returns
ANSI-colored string for this inline
Source
TerminalRenderer.scala
Render a chunk of inlines as a single string.
Render a chunk of inlines as a single string.
Value parameters
inlines
The inline elements to render
Attributes
Returns
Concatenated terminal string
Source
TerminalRenderer.scala