write_rendered: Write a static rendering to a UTF-8 file

View source: R/export.R

write_renderedR Documentation

Write a static rendering to a UTF-8 file

Description

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.


termr documentation built on Oct. 21, 2026, 5:13 p.m.