The output format html_vignette() now warns against differences in the vignette title specified in the title field in the YAML metadata and the one specified inside \VignetteInde圎ntry. Pandoc_metadata_arg() is a new Pandoc helper function to generate -metadata argument for Pandoc command line (thanks, #1789). You may apply this feature to all the source code blocks, for example, by setting knitr::opts_chunk$set(class.source = "foldable") at the beginning of your document (thanks, #1835).Įxported the internal function find_pandoc(), and also added two arguments, dir and version, so that users can provide a custom directory under which this function may find Pandoc, as well as an expected version of Pandoc to be found (thanks, #1785). Html_document() can apply code_folding on any chunk engines if the foldable class is added to a source code block via the chunk options ( class.source or attr.source). Html_vignette() only warns against differences in the vignette title and the vignette index entry for R >= 3.6.0 (thanks, #1832). When the df_print option is kable and the output format is not HTML, is no longer added to the kable() output, because recent versions of Pandoc will convert the div to a LaTeX environment when the output format is LaTeX (thanks, Laurens, ). This enables handling of duplicate numeric footnote identifiers (e.g. across bookdown chapters) via the pandoc -file-scope option ( #1837).Īdded the customizable lang atrribute to ioslides_presentation output (thanks, #1841).Īdded publish_site() function for “one-button” publishing of R Markdown websites. 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, and #1833).Īdded file_scope option to output format definition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |