Paginate the HTML Output of R Markdown with CSS for Print
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst
man
tools
.Rbuildignore
.gitattributes let Github ignore paged.js when calculating language stats in the repo Nov 6, 2018
.gitignore
.travis.yml use pandoc 2.3.1 Nov 1, 2018
DESCRIPTION
LICENSE
NAMESPACE
README.md
pagedown.Rproj

README.md

pagedown

Travis build status

Paginate the HTML Output of R Markdown with CSS for Print. You only need a modern web browser (e.g., Google Chrome) to generate PDF. No need to install LaTeX to get beautiful PDFs.

This R package stands on the shoulders of two giants to support typesetting with CSS for R Markdown documents: Paged.js and ReLaXed (we only borrowed some CSS from the ReLaXed repo and didn't really use the Node package).

This package is still very young. Please be warned that things are still subject to change. For those who are brave and curious, you may install the package from Github:

remotes::install_github('rstudio/pagedown')

This package requires a recent version of Pandoc (>= 2.2.3). If you use RStudio, you are recommended to install the Preview version (>= 1.2.1070), which has bundled Pandoc 2.3.1, otherwise you need to install Pandoc separately.

Below are some existing R Markdown output formats and examples.

Paged HTML documents (pagedown::html_paged)

A paged HTML document

Resume (pagedown::html_resume)

An HTML resume

Posters (pagedown::poster_relaxed)

A poster of the ReLaXed style

Business cards (pagedown::business_card)

A business card

Letters (pagedown::html_letter)

A letter in HTML