Description Usage Details Value Functions
Creates a private or public gist containing the active text selection or the active RStudio source file. Creating a public gist also prompts you to ask if you want to share the code to carbon, where it is converted into a beautiful screen shot.
1 2 3 |
The default file name of the GitHub gist is:
<project>_<?selection>_<filename or file_id>
, where file_id
is a unique
id for untitled files. It does not relate to the untitled number. You'll be
asked to confirm or edit the file name before uploading.
The URL of the gist on GitHub. Also opens browser windows to the GitHub gist. Another browser window will open if you choose to open your gist in Carbon and the URL of the gist will be copied to the clipboard.
gistfo
: Create a private gist and browse to it
gistfoc
: Create a public gist and optionally share with
carbon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.