insertDoubleHash: Add a double hash comment

Description Usage Details

View source: R/utils.R

Description

The function inserts or removes two hashes and a space ("## ") at the beginning of a line. It also works for multiple line. The function is meant to behave similarly to the Rstudio built-in Comment / Uncomment Selection tool (see Details for an comprehensive description).

Usage

1

Details

The function has two behaviors depending on the current selection in the document:


cvanderaa/customAddins documentation built on Jan. 28, 2020, 4:37 a.m.