pagedown

Paginate the HTML Output of R Markdown with CSS for Print

Github星跟蹤圖

pagedown

Travis build status
Downloads from the RStudio CRAN mirror

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).

You may install this 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 latest version (>= 1.2.1335), which has bundled Pandoc 2.x, 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

Thesis (pagedown::thesis_paged)

A paged HTML thesis

Journal of Statistical Software article (pagedown::jss_paged)

A JSS article

Resume (pagedown::html_resume)

An HTML resume

Posters

pagedown::poster_relaxed

A poster of the ReLaXed style

pagedown::poster_jacobs

A poster of the Jacobs University style

Want more poster styles? You may take a look at Brent Thorne's posterdown package.

Business cards (pagedown::business_card)

A business card

Letters (pagedown::html_letter)

A letter in HTML

Other examples

Authors and contributors

The main authors of this package are Yihui Xie (RStudio) and Romain Lesur. Romain has received a grant from the Shuttleworth Foundation for his work on both Paged.js and pagedown.

Shuttleworth Funded

You can find the full list of contributors of pagedown here. We always welcome new contributions. In particular, if you are familiar with CSS, we'd love to include your contributions of more creative and beautiful CSS stylesheets in this package. It is also very helpful if you don't know CSS but just tell us the creative and beautiful web pages you have seen, since other CSS experts may be able to port them into pagedown.

主要指標

概覽
名稱與所有者rstudio/pagedown
主編程語言R
編程語言R (語言數: 5)
平台
許可證Other
所有者活动
創建於2018-09-27 13:58:17
推送於2025-06-18 11:04:45
最后一次提交
發布數22
最新版本名稱v0.22 (發布於 )
第一版名稱v0.1 (發布於 )
用户参与
星數0.9k
關注者數33
派生數125
提交數440
已啟用問題?
問題數255
打開的問題數86
拉請求數73
打開的拉請求數7
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?