toggle: Toggle sections

View source: R/rstudio-toggle_subsections.R

toggle_offR Documentation

Toggle sections

Description

In the document outline, toggle a section on or off by adding or removing a #

Usage

toggle_off(line, text, editor)

toggle_on(line, text, editor)

toggle(dashes = "----")

toggle_section()

toggle_subsection()

toggle_subsubsection()

transform_subsection(line, text, editor)

initiate_or_delete_subsection(line, text, editor)

renumber_sections(FLAGfunctionAsSection = FALSE)

Arguments

FLAGfunctionAsSection

Start subsections within functions with 1. Switch off if the function is just a small part of a bigger logic

Value

called for side-effect

Author(s)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com)


dlill/conveniencefunctions documentation built on Sept. 30, 2022, 4:40 a.m.