knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

reflowdoc

Lifecycle: experimental

An Rstudio add-in for hard wrapping non-code chunk text areas in Rmarkdown documents to a margin/width of 80.

Installation

Install the from Github with the {{remotes}} package.

## install pkg from Github
remotes::install_github("mkearney/reflowdoc")

Use

To reflow your current [active] document, click the Addins v dropdown in Rstudio and select Reflow Document (you may need to restart Rstudio after install for this to appear).



mkearney/reflowdoc documentation built on May 17, 2019, 12:02 p.m.