Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: rstudio/rmarkdown

rmarkdown 2.31

26 Mar 17:53
@yihui yihui

Choose a tag to compare

  • Base64 encoded images work with non-HTML output formats now (thanks, @averissimo, #2604).

  • Use the argument --syntax-highlighting for Pandoc >= 3.8 since --highlight-style has been deprecated (thanks, @ywwry66, #2602).

  • default_output_format() will fall back to html_document if the output format in YAML cannot be recognized.

Contributors

averissimo and ywwry66
Assets 2
Loading

rmarkdown 2.30

29 Sep 14:41
@yihui yihui

Choose a tag to compare

  • pandoc_convert() will throw an error if Pandoc is not available (thanks, @brianperdomo, #2600).

  • Use the argument --syntax-highlighting=none for Pandoc >= 3.8 since --no-highlight has been deprecated (#2602).

  • Dropped the temporary workaround that used to support syntax highlighting of |> and =>. The workaround has no longer been necessary since Pandoc 2.18, which was released more than 3 years ago (#2290).

  • convert_ipynb() no longer drops raw cells with no format in metadata (thanks, @katrinabrock, #2587).

  • Fixed a bug that prevents render() from working when converting .md input to PDF (thanks, @mrainers, #2599).

Contributors

katrinabrock, brianperdomo, and mrainers
Loading
chuxinyuan reacted with thumbs up emoji chuxinyuan reacted with heart emoji
1 person reacted

rmarkdown 2.29

04 Nov 14:34
@yihui yihui

Choose a tag to compare

  • find_external_resources() now correctly detects knitr child document provided with option like child = c("child.Rmd") (thanks, @rempsyc, #2574).

  • knit_params_ask() uses a select input for parameters which allow multiple selected values (#2576). Previously, a radio input was incorrectly used when the parameter had a small number of choices.

    params:
     primaries:
     choices: ["red", "yellow", "blue"]
     multiple: true

    When multiple is not enabled, parameter configuration still uses radio when there are fewer than five choices.

    The input parameter field can still be used to force the configuration control.

    params:
     grade:
     input: radio
     choices: ["A", "B", "C", "D", "F"]

Contributors

rempsyc
Loading
chrislongros, radovan-miletic, Elyan-Gruau, and GTorVar reacted with thumbs up emoji
4 people reacted

rmarkdown 2.28

17 Aug 15:49
@yihui yihui

Choose a tag to compare

  • Add classes odd, even, and header back to table rows for Pandoc >= 3.2.1, so tables can be styled properly (thanks, @therealgenna, #2567).

  • beamer_presentation support handling latex dependencies via the new extra_dependencies argument and declarations within chunks (e.g., knitr::asis_output("", meta = list(rmarkdown::latex_dependency("longtable")))) (thanks, @cderv, @atusy, #2478).

Contributors

cderv, atusy, and therealgenna
Loading
seb-mueller reacted with thumbs up emoji
1 person reacted

rmarkdown 2.27

20 May 21:43
@yihui yihui

Choose a tag to compare

  • Provide a global option rmarkdown.files.suffix to configure the suffix of the directory for auxiliary files (thanks, @certara-tzweers, #2550). By default, this suffix is _files, which can cause HTML output files to be deleted automatically on Microsoft OneDrive or Google Drive. If that is the case for you, you may set a different suffix in your .Rprofile, e.g., options(rmarkdown.files.suffix = "_rmdfiles").

  • Fix a regression in 2.26 regarding image paths post-processing in html_document_base(). Now absolute paths to image in the output directory (output_dir) are correctly made relative to the output directory again.

Contributors

certara-tzweers
Loading
NonlinearFruit, njtierney, and seb-mueller reacted with hooray emoji
3 people reacted

rmarkdown 2.26

05 Mar 22:38
@yihui yihui

Choose a tag to compare

  • rmarkdown now requires knitr >= 1.43.

  • Get rid of the superfluous warning in find_pandoc() (thanks, @jszhao, #2527).

  • Removed the stringr dependency since it is used only once in the package and the equivalent base R code is simple enough (thanks, @etiennebacher, #2530).

  • For the output format option fig_crop: auto, it will now use the same logic as in knitr to decide if cropping is possible (yihui/knitr#2246).

  • Avoid corrupting input files by accident (thanks, @J-Moravec, #2534).

Contributors

J-Moravec, jszhao, and etiennebacher
Loading
markvenn reacted with thumbs up emoji eitsupi, RistoBIn, seb-mueller, qyaozh, mattmotyl, and toomish reacted with hooray emoji
7 people reacted

rmarkdown 2.25

18 Sep 13:25
@yihui yihui

Choose a tag to compare

  • Fixed a bug that filenames beginning with - cause incorrect invocation of Pandoc (thanks, @mbaynton, #2503).

  • Documented how to merge output_format_dependency() to the output format (thanks, @atusy, #2508).

  • ioslides_presentation() now correctly works with new shiny 1.7.5 (thanks, @nicolasgaraycoa, #2514, @gadenbuie, #2516).

  • Added a new argument metadata to the pre_knit function in output_format() so that users will have access to the YAML metadata of the input document before knitting it (#2485). Please note that if you define pre_knit for a custom output format, you are strongly recommended to leave a ... argument in pre_knit, so we (rmarkdown package authors) are free to add more arguments to pre_knit without breaking your code. If your pre_knit function does not have the ... argument, you will get a warning.

Contributors

mbaynton, gadenbuie, and 2 other contributors
Loading
radovan-miletic, gadenbuie, and seb-mueller reacted with thumbs up emoji
3 people reacted

rmarkdown 2.24

14 Aug 19:32
@yihui yihui

Choose a tag to compare

  • Fixed file_scope being lost when extending output formats that considers the file_scope using output_format(). Merge behavior is to apply overlay file_scope function onto the result of base_format's file_scope function. This implies that file_scope gains second argument which receives the returned values of the base file_scope (thanks, @atusy, #2488).

  • Added output_format_dependency() which allows extending output format from within chunks (thanks, @atusy, #2462)

  • Fix an issue with shiny prerendered document where dependencies context were written twice leasing to parsing error (thanks, @gadenbuie, rstudio/learn#597, #2500).

Contributors

gadenbuie and atusy
Loading

rmarkdown 2.23

03 Jul 01:57
@yihui yihui

Choose a tag to compare

  • find_external_resources() works with formats defining there own theme argument, like cleanrmd::html_document_clean(), not related to bslib supports (thanks, @gadenbuie, #2493, r-lib/pkgdown#2319).

  • Fixed version number comparison problems as requested by CRAN.

Contributors

gadenbuie
Loading
eitsupi reacted with hooray emoji
1 person reacted

rmarkdown 2.22

01 Jun 14:13
@yihui yihui

Choose a tag to compare

  • Using css with .scss and .sass file, or with a bslib theme, now works as expected with a shiny runtime (thanks, @cpsievert, #2443, #2447).

  • Add a pandoc_metadata_file_arg() function to match Pandoc's CLI flag --metadata-file.

  • Mentions that webshot or webshot2 is required to take screenshot of HTML widget. When not installed, an error message mentionning always_allow_html: true solution will be shown, but setting this is not the solution (quarto-dev/quarto-cli#4225).

  • html_dependency_jqueryui() updated to 1.13.2 from version bundled in shiny (thanks, @daschnerm, #2477).

  • Fix an issue with YAML header ending with a commented line containing incomplete yaml (thanks, @keithnewman, #2483).

  • When code folding is enabled in html_document(), the text on the button to show the content has been changed from "Code" to "Show", because the content to show is not necessarily code, e.g., yihui/knitr#2227.

Contributors

keithnewman, cpsievert, and daschnerm
Loading
eitsupi reacted with hooray emoji
1 person reacted
Previous 1 3 4 5
Previous

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /