Lightweight Output Formats for 'litedown'

A collection of lightweight, minimalist output formats and templates for 'litedown' by Xie (2026) , including resumes, cover letters, and other common document types. Documents are rendered with HTML and CSS and can be printed to PDF with a 'Chromium'-based browser, without requiring 'Pandoc' or a 'LaTeX' installation.


liteformats

CRAN status R-CMD-check

liteformats provides lightweight, carefully typeset document formats for litedown. The first formats are a professional resume and a two-column cover letter. They use HTML and CSS, paginate with a packaged copy of Yihui Xie's pages.js, and require neither Pandoc nor LaTeX.

Installation

You can install the development version of liteformats from GitHub with:

# install.packages("pak")
pak::pak("nanxstats/liteformats")

Usage

Resume

Create the resume starter, then render it to self-contained HTML or PDF:

liteformats::use_resume("resume.Rmd")
liteformats::resume("resume.Rmd", "resume.html")
liteformats::resume("resume.Rmd", "resume.pdf")

Cover letter

Use the matching cover_letter() renderer for the cover letter starter:

liteformats::use_cover_letter("cover-letter.Rmd")
liteformats::cover_letter("cover-letter.Rmd", "cover-letter.html")
liteformats::cover_letter("cover-letter.Rmd", "cover-letter.pdf")

HTML output is self-contained. A .pdf output path prints the HTML through headless Chrome, which must be installed to create PDFs but is not needed for HTML output.

Learn more

Start with Get started with liteformats. The shared guides cover configuration, typography, and automated builds.

For format-specific metadata and authoring, see resumes and cover letters.

Reference manual

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

install.packages("liteformats")

0.2.0 by Nan Xiao, a month ago


https://nanx.me/liteformats/, https://github.com/nanxstats/liteformats


Report a bug at https://github.com/nanxstats/liteformats/issues


Browse source code at https://github.com/cran/liteformats


Authors: Nan Xiao [aut, cre, cph] (ORCID: , Yihui Xie [ctb, cph] (pages.js and pages.css libraries) , Ayuhito [ctb, cph] (google-font-metadata catalog)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports litedown, xfun

Suggests testit

System requirements: Chromium, Google Chrome, or Microsoft Edge (for PDF output)


See at CRAN