Description Usage Arguments Value Examples
View source: R/hook_number_lines.R
Number lines on code blocks created by chunks, i.e. source, output, message, warning, and/or error.
1 | hook_numberLines(targets = "source", .set = TRUE)
|
targets |
A character vector specifying what kind of code blocks
automatically number lines (default: |
.set |
|
invisible hook function
1 | hook_numberLines("source")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.