Indents the first line of a listing by spaces_first
and the remaining
lines by spaces_not_first
while maintaining the correct width.
1 | tidy_listing(listing, width, spaces = c(0, 0))
|
listing |
A listing, as described in the vignette "Data structures". |
width |
The target width of the lines, passed to |
spaces |
Numeric vector of length two. Number of spaces for the first line and all remaining lines. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.