Title: | Insert Backticks And Backtick Structures |
---|---|
Description: | Insert into an R script a backtick; surround text with backticks; or surround text with backticks to demarcate inline or chunked R code in an R Markdown document. Intended for use as an RStudio Addin. |
Authors: | Matt Dray [aut, cre] |
Maintainer: | Matt Dray <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-10-24 03:27:52 UTC |
Source: | https://github.com/matt-dray/backtick |
Insert a single backtick. In R Markdown file, one backtick will be inserted. RStudio automatically adds a second backtick when this function is used in an R script.
bt_backtick()
bt_backtick()
Surround selected text with backticks. Use it to style strings as code when rendering an R Markdown file, or to reference variable names that contain spaces.
bt_backticks()
bt_backticks()
Place selected text inside an R Markdown chunk. Places triple backticks above and below the selection, with an 'r' in curly braces after the first set. The content will be executed on render.
bt_chunk()
bt_chunk()
Surround selected text with backticks and begin with an 'r'. Use this to demarcate inline R code in R Markdown so that it's executed on render.
bt_inline()
bt_inline()