Skip to contents

Write a static rendering to a UTF-8 file

Usage

write_rendered(
  x,
  file,
  format = c("text", "markdown", "html", "svg", "json"),
  width = 80,
  height = 24
)

Arguments

x

A widget, Screen, App, or ScreenBuffer.

file

Output path.

format

One of text, markdown, html, svg, or json.

width, height

Frame size in cells.