format_shell_command | R Documentation |
The shell command will be formatted such that each item of lines
is put onto a separate line suffixed
by \
.
format_shell_command(lines, language = "bash", wrap = TRUE)
wrap_code(lines, collapse = TRUE, language = "bash")
format_shell_commands(commands, language = "bash", wrap = TRUE)
lines |
A character vector: code lines. |
language |
A character scalar: codeblock language. |
wrap |
A logical scalar: if |
collapse |
A logical scalar: if |
commands |
A list of character vectors with command lines passed into |
A character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.