Description Usage Arguments Value
Takes a string and formats it according the disired output type and considering line width and margin concerns. Where necessary, text will be broken up onto multiple lines, with line break escape characters respected.
1 2 3 4 5 6 7 | format_line(
x,
linewidth = 80,
right_margin = 5,
left_margin = 1,
type = c("basic", "roxygen2")
)
|
x |
String. |
linewidth |
Maximum number of characters per line. |
right_margin |
Number of spaces between the end of text and the maximum linewidth. |
left_margin |
Number of spaces before the beginning of text. |
type |
Two options:
|
A formated string specifying one or more lines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.