# This is a function to insert assignment operator pointing to the right (->) instead of left (<-)
#
# Some useful keyboard shortcuts for package authoring:
#
# Install Package: 'Cmd + Shift + B'
# Check Package: 'Cmd + Shift + E'
# Test Package: 'Cmd + Shift + T'
insert_assignment_right <- function() {
rstudioapi::insertText(" -> ")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.