From cbe4769b7dce2ee172595865853e537965897ee6 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 3 Dec 2023 22:08:23 +0100 Subject: [PATCH 1/2] Clean up unnecessary YAML front matter in README --- README.Rmd | 7 +------ README.md | 12 ++++++------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/README.Rmd b/README.Rmd index 14fa12a86..5a6d5f59a 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,10 +1,5 @@ --- -output: - github_document: - html_preview: true -editor_options: - markdown: - wrap: 79 +output: github_document --- diff --git a/README.md b/README.md index 08213d935..dd25e5930 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,10 @@ can direct your attention to the content of your code. It helps to keep the coding style consistent across projects and facilitate collaboration. You can access styler through -- the RStudio Addin as demonstrated below -- R functions like `style_pkg()`, `style_file()` or `style_text()` -- various other tools described in - `vignette("third-party-integrations")` +- the RStudio Addin as demonstrated below +- R functions like `style_pkg()`, `style_file()` or `style_text()` +- various other tools described in + `vignette("third-party-integrations")` @@ -50,6 +50,6 @@ remotes::install_github("r-lib/styler") The following online docs are available: -- [latest CRAN release](https://styler.r-lib.org). +- [latest CRAN release](https://styler.r-lib.org). -- [GitHub development version](https://styler.r-lib.org/dev/). +- [GitHub development version](https://styler.r-lib.org/dev/). From ff8f6a30c5e961ff2572d09755536208ff17f63c Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Mon, 4 Dec 2023 20:30:17 +0100 Subject: [PATCH 2/2] retain Visual editor relevant fields in YAML --- README.Rmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.Rmd b/README.Rmd index 5a6d5f59a..314230e53 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,5 +1,8 @@ --- output: github_document +editor_options: + markdown: + wrap: 79 ---