Description Usage Arguments Value See Also
View source: R/code_formatting.R
Apply indention to code lines
1 | apply_indent(lines, arr, spaces, trim)
|
lines |
array of code lines |
arr |
an array returned by |
spaces |
Number of spaces to use for indenting (has no effect if
|
trim |
if this is true, left trimming is done |
an edited array of code lines
Other code formatting helper functions:
count_indent_lines()
,
justify_line()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.