Skip to content

rmarkdown 2.1

Compare
Choose a tag to compare
@yihui yihui released this 20 Jan 19:48
  • Added the returned output from shiny::runApp() within rmarkdown::run() (thanks, @schloerke, #1760).

  • YAML header is now correctly parsed in html_notebook's intermediate .knit.md file so that features like adding bibliography works again (thanks, @everdark, @cderv, #1747).

  • ioslides_presentation template no longer generates an empty <h2> tag when subtitle is not specified in YAML (thanks, @jooyoungseo #1735, @cgrudz #1663).

  • No longer center the #header element in the html_vignette() output (thanks, @EmilHvitfeldt, #1742).

  • Ensure the tempdir() exists (via tempdir(TRUE)) when writing HTML dependencies to a temporary file, because this directory might be erased by accident (thanks, Kurt Hornik, and also @karawoo #1743).

  • Added the slide_level argument to slidy_presentation() (https://stackoverflow.com/q/59157211/559676).

  • Removed the jQuery dependency in html_document_base() (#1723). To avoid bugs like #1723, Pandoc 2.8 users have to upgrade to Pandoc 2.9+.

  • For pdf_document, horizontal rules generated by Pandoc (before v2.8) stopped working in recent versions of TeX Live, and the same fix as the one to jgm/pandoc#5801 (i.e., hard-code \linethickness to 0.5pt) was applied in rmarkdown (thanks, @cderv, https://stackoverflow.com/a/58646915/559676).