Paginate the HTML Output of R Markdown with CSS for Print
Overview
Use the paged media properties in CSS and the JavaScript library 'paged.js' to split the content of an HTML document into discrete pages. Each page can have its page size, page numbers, margin boxes, and running headers, etc. Applications of this package include books, letters, reports, papers, business cards, resumes, and posters.
- Fixed an issue where figures inserted using Markdown syntax with a bookdown identifier
(#fig:)were not included in the List of Figures when using Pandoc 3 (thanks, @remlapmot, #347). chrome_print()no longer treats HTTP errors for sub-resources (e.g., a missingfavicon.ico, images, or fonts) as fatal — only errors for the main document raise an error, while sub-resource failures now emit a warning (thanks, @remlapmot, #347).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 10%
- Documented parameters
- 30%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/rstudio/pagedown on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-28 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing pagedown adds 38 packages (21 with compiled code, 27 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.
Show all 17 packagesHide all 17 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.25Latest
- RR 4.6.0 released · 2026-04-24
- 0.242026-04-09 · diff ↗
- 0.232025-08-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.222025-01-07 · diff ↗
- 0.212024-10-11 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.202022-12-13 · diff ↗
- 0.192022-09-27 · diff ↗
- 0.182022-04-26 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.172022-03-02 · diff ↗
- 0.162021-12-15 · diff ↗
- 0.152021-06-23 · diff ↗
Show 18 earlier eventsHide 18 earlier events
- RR 4.1.0 released · 2021-05-18
- 0.142021-04-14 · diff ↗
- 0.132020-12-01 · diff ↗
- 0.122020-10-13 · diff ↗
- 0.112020-09-09 · diff ↗
- 0.102020-05-04 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.92020-03-18 · diff ↗
- 0.82020-02-04 · diff ↗
- 0.72019-12-19 · diff ↗
- 0.62019-11-12 · diff ↗
- 0.52019-10-01 · diff ↗
- 0.42019-08-21 · diff ↗
- 0.3
- RR 3.6.0 released · 2019-04-26
- 0.2
- 0.12019-01-02
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-01-02
- Total releases
- 25 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 249 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pagedown")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.