write_html | R Documentation |
Create a HTML snapshot of an asciicast
write_html( cast, path, at = "end", omit_last_line = NULL, prefix = "", theme = NULL, details = FALSE, summary = "See output" )
cast |
|
path |
Path to the HTML file to create. |
at |
When to take the snapshot, defaults to the end of the cast
( |
omit_last_line |
Whether to omit the last line of the cast. This often just the prompt, and sometimes it is not worth showing. |
prefix |
Prefix to add to the beginning to every line. E.g.
|
theme |
A theme name to use, or a a named list to override the
default theme (see |
details |
Whether to put the output in a |
summary |
Summary of the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.