Cringe.Renderer (cringe v0.1.0)

Copy Markdown View Source

Renders Cringe documents into terminal text.

Summary

Types

render_opts()

@type render_opts() :: [width: pos_integer(), height: pos_integer(), ansi: boolean()]

Functions

frame(document, opts \\ [])

render(document, opts \\ [])

@spec render(Cringe.Document.t(), render_opts()) :: String.t()