-
Addressed an accessibility issue in highlighted code blocks of HTML output for screen reader users: screen readers no longer read out an unnecessary code line id values (thanks, @jooyoungseo and @atusy, #1833).
-
Added
file_scope
option to output format definition. This enables handling of duplicate numeric footnote identifiers (e.g. across bookdown chapters) via the pandoc--file-scope
option (#1837). -
Added the customizable
lang
attribute toioslides_presentation
output (thanks, @jooyoungseo, #1841). -
Added
publish_site()
function for "one-button" publishing of R Markdown websites. -
When the
df_print
option iskable
and the output format is not HTML,<div class="kable-table">
is no longer added to thekable()
output, because recent versions of Pandoc will convert thediv
to a LaTeX environment when the output format is LaTeX (thanks, Laurens, https://stackoverflow.com/q/62340425/559676). -
html_vignette()
only warns against differences in the vignette title and the vignette index entry for R >= 3.6.0 (thanks, @krlmlr, #1832). -
html_document()
can applycode_folding
on any chunk engines if thefoldable
class is added to a source code block via the chunk options (class.source
orattr.source
). You may apply this feature to all the source code blocks, for example, by settingknitr::opts_chunk$set(class.source = "foldable")
at the beginning of your document (thanks, @atusy, #1835).