default_theme | R Documentation |
Currently only used for write_svg()
default_theme()
A named list.
Other SVG functions:
play()
,
write_svg()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.