Skip to content

Releases: rstudio/pagedown

pagedown 0.23

25 Aug 13:53

Choose a tag to compare

  • Using non ASCII characters in headers, like french ## Présence d'une DAACT, no longer causes an error in html_paged() for TOC processing (thanks, @sylvaine31, #339).
    However, this is recommended to always use ascii only id when possible to avoid issues or side effects. This can be done by specifying ID e.g. doing ## Présence d'une DAACT {#presence-daact}

pagedown 0.22

07 Jan 15:20

Choose a tag to compare

  • No longer use xfun::attr() (which will be removed from xfun).

pagedown 0.21

11 Oct 15:17

Choose a tag to compare

  • html_paged() and other formats using paged.js now informs knitr that its JS and CSS dependencies will be loaded by setting the is.paged.js global knit option. Use isTRUE(knitr::opts_knit$get("is.paged.js")) to detect it (thanks, @sylvaine31, @davidgohel, #332).

pagedown 0.20

14 Dec 00:27

Choose a tag to compare

  • This package requires R >= 3.5.0 now.

pagedown 0.19

27 Sep 02:35

Choose a tag to compare

pagedown 0.18

26 Apr 17:44

Choose a tag to compare

  • Figure inserted using markdown syntax and having a caption with (#fig:lab) are now correctly listed in the LOF (thanks, @adamvi, #283).

  • Fix an issue in jss_paged() with Pandoc 2.17 and above.

  • Fix an issue in html_paged() with LOT and LOF not showing anymore with Pandoc 2.17 and above (thanks, @adamvi, #280).

pagedown 0.17

02 Mar 22:06

Choose a tag to compare

BUG FIXES

  • Fix duplicating headers in tables that force new page (thanks, @Darxor, #272).

pagedown 0.16

15 Dec 04:17

Choose a tag to compare

NEW FEATURES

MINOR CHANGES

  • Document that the html_letter() output format modifies the default value of the fig_caption parameter and allow the user to change it (thanks, @NewGraphEnvironment, #234).

  • Created an option pagedown.chrome.log to ease chrome_print() debugging: when set to TRUE, the logs of Chrome are saved in the working directory.

  • Added support for Sass files with .scss and .sass extension (thanks, @felipecrp, #244).

BUG FIXES

  • Fix an issue with loft.lua filter following changes in Pandoc 2.16 (#249).

pagedown 0.15

23 Jun 04:45

Choose a tag to compare

NEW FEATURES

  • find_chrome() now searches for Microsoft Edge on Windows. That allows chrome_print() to work seamlessly with Microsoft Edge (thanks, @cderv, #160 and #225).

MAJOR CHANGES

  • In chrome_print(), when printing a document to PDF, the default transfer mode between Chrome and R now uses a stream when this option is available in Chrome. This change ensures that PDF files of any size can be generated (#206 and #224).

MINOR CHANGES

  • Multiple knitr::kables() are now vertically aligned by default in html_paged(), thesis_paged() and jss_paged() output formats (thanks, @cderv and @andrew-fuller, #214).

BUG FIXES

  • Fixed a bug introduced in html_paged() by pagedown 0.14, the content of each link was lost if it was not textual (thanks, @mcanouil, #226).

  • Fixed figure and table numbering format in jss_paged() (thanks, @gglee4ai, #184).

v0.14

14 Apr 15:21

Choose a tag to compare

NEW FEATURES

  • In html_paged(), added two new options lot-unlisted and lof-unlisted. If lot-unlisted (resp. lof-unlisted) is set to TRUE in the YAML options, the list of tables (resp. figures) will not be included in a table of contents (thanks, @beatrizmilz, #221).

MAJOR CHANGES

MINOR CHANGES

  • In html_paged(), links are now sanitized to avoid impossible line breaking of long URLs in a justified text (thanks, @julientaq).

  • In order to be compatible with the flextable package, pagedown::html_paged() sets the value of the ft.shadow chunk option to FALSE by default (thanks, @tvroylandt and @davidgohel, #216).

  • The fig_caption argument is no longer hard-coded to FALSE in html_resume() (thanks, @nplatonov, #208).

BUG FIXES