Learn R Programming

asciicast (version 1.0.0)

default_theme: The default asciicast theme

Description

Currently only used for write_svg()

Usage

default_theme()

Arguments

Value

A named list.

See Also

Other SVG functions: play(), write_svg()

Examples

Run this code
# NOT RUN {
cast <- read_cast(system.file("examples", "hello.cast", package = "asciicast"))
svg_file <- tempfile(fileext = ".svg")
mytheme <- modifyList(default_theme(), list(cursor = c(255, 0, 0)))
write_svg(cast, svg_file, theme = mytheme)
# }

Run the code above in your browser using DataLab