Description Usage Arguments Value Author(s)
First you need to copy the console area to the clipboard, then run the console_cl() function to add a comment to the line where the output is, and to cancel the > on the original line. Finally, the result of the run is saved to the clipboard.
1 | console_cl(prefix = "#>")
|
prefix |
The prefix for code.The default is '#>'. You can edit it according to your own preference, but '#' should be the first character. |
the result of the run is saved to the clipboard.
Chai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.