Skip to content

Add fold-none chunk option to opt-out code folding from individual chunks in html_document - #2348

Merged
cderv merged 8 commits into
rstudio:mainfrom
atusy:fold-none
Apr 12, 2022
Merged

cderv merged 8 commits into
rstudio:mainfrom
atusy:fold-none

Conversation

@atusy

@atusy atusy commented Apr 11, 2022

Copy link
Copy Markdown
Collaborator

solves #2346

  • implement fold-none option
  • update documents
  • devtools::document()

@yihui yihui left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

Comment thread R/html_document.R Resolved
@yihui
yihui requested a review from cderv April 11, 2022 19:23
@atusy

atusy commented Apr 11, 2022

Copy link
Copy Markdown
Collaborator Author

@yihui Thanks. I added spaces to other @-marks, too.

@cderv cderv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thanks !

[skip ci]
@cderv
cderv merged commit fd691ff into rstudio:main Apr 12, 2022
j-magnolia pushed a commit to j-magnolia/rmarkdown that referenced this pull request May 5, 2022
* jg-devel:
  use tufte::tufte_handout in test, and remove tufte_handout in doc
  mark tufte_handout() as defunct
  CRAN release v2.14
  typo in NEWS
  Update arrow.theme regarding accessibility
  Adapt test snapshots to last pandoc devel 2.18+ (rstudio#2349)
  Revert "remove from NEWS as pandoc devel reverted the change"
  remove from NEWS as pandoc devel reverted the change
  Support for `fold-none` class in `html_document()` (rstudio#2348)
  Support new scheme for Pandoc nightly build
  Add lua-based codefolding feature and apply it to html_vignette (rstudio#2340)
  `site_generator()` stops search at RStudio project root (rstudio#2345)
  Update CONTRIBUTING.md
  Update tests following Pandoc change in 2.18 (rstudio#2334)
  dirname('.') returns '.', which will cause infinite recursion, so normalize the relative path to absolute before the next recursion (fix rstudio#2339)
  Fix parsing by pandoc of last paragraph in shinyrmd doc (rstudio#2337)
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[FR] Add fold-none chunk option to opt-out code folding from individual chunks in html_document

3 participants