Skip to content

knitr 1.41

Compare
Choose a tag to compare
@yihui yihui released this 25 Jan 14:26
· 250 commits to master since this release

NEW FEATURES

  • Added support for generating Jira tables via kable(, format = 'jira') (thanks, @pedropark99 #2180, @mruessler #2024).

  • Added a new chunk option fig.id. When it is TRUE, the chunk option out.extra will gain an id attribute for each image from a code chunk in R Markdown (thanks, @jooyoungseo, #2169). By default, the attribute consists of a prefix, the chunk label, and the figure number. See https://yihui.org/knitr/options/ for detailed documentation of fig.id.

  • Added an argument exact to pandoc_to() and pandoc_from() to decide whether to use/return the exact Pandoc output/input format name. If not (default), Pandoc extensions will be removed from the format name, e.g., latex-smart will be treated as latex.

BUG FIXES

  • Plot created outside of knit() could sneak into knit_child() results (thanks, @niklaswillrich, #2166).

  • User-provided background colors for code chunks in .Rnw documents may fail (thanks, @nielsrhansen, #2167).

  • tabularx and xltabular tables should work without captions (thanks, @amarakon, #2188).