rmarkdown 2.5
-
Tables without header rows (wich can be possible in Pandoc's simple table) are now formatted correctly when using
html_document()
format (thanks, @fkohrt, #1893). -
html_document
gains theanchor_sections
argument, which isTRUE
by default, so that readers can get links to section headers easily---when you mouse over a section hader, you will see a hash symbol#
at the end of the header, which contains the anchor link to this header. You can click on this link and get the URL in the addres bar of your web browser, or right-click on it and copy the URL from the context menu. The hash symbol is defined by the CSS rulea.anchor-section::before {content: '#';}
. You can customize it by overriding this rule (e.g., via thecss
argument ofhtml_document
) and use any other symbols or icons, e.g.,content: "\02AD8;"
(thanks, @atusy, #1884). -
pkg_file_lua()
should have thrown an error if the expected Lua file does not exist. -
Provide
files_dir
andintermediates_dir
as attributes on return fromrender()
whenrun_pandoc = FALSE
. -
Supports new Pandoc 2.11
--citeproc
flags usage instead ofpandoc-citeproc
external filter.pandoc_convert()
andpandoc_citeproc_convert()
will now use the correct flags according to the Pandoc version used. The logic is exported inpandoc_citeproc_args()
. See Pandoc release note for more information about the newciteproc
processing (#1916). -
Fixed the code highlighting when code block is hidden. Previous version introduced a regression where non default code highlighting was still shown when
code_folding
is activated and code block is hidden (thanks, @matthewcarlucci, #1921). -
The minimal required version for the xfun package (v0.15) has been specified for R Markdown Notebooks to work properly (thanks, @jmcphers, #1923).
-
Fixed a bug in
convert_ipynb()
when the language is not specified in the.ipynb
file (thanks, @acca3003, #1925). -
Introduce
runtime: shinyrmd
as a more user friendly alias forruntime: shiny_prerendered
.