Paginate the HTML Output of R Markdown with CSS for Print

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1 by Yihui Xie, a month ago

Report a bug at

Browse source code at

Authors: Yihui Xie [aut, cre] , Romain Lesur [aut, cph] , RStudio , Inc. [cph] , Adam Hyde [ctb] (paged.js in resources/js/) , Min-Zhong Lu [ctb] (resume.css in resources/css/) , Zulko [ctb] (poster-relaxed.css in resources/css/)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports rmarkdown, bookdown, htmltools, xfun

Suggests testit, xaringan

System requirements: Pandoc (>= 2.2.3)

Imported by rmd.

See at CRAN