litedown: A Lightweight Version of R Markdown

Render R Markdown to Markdown (without using 'knitr'), and Markdown to lightweight HTML or 'LaTeX' documents via the bundled 'cmark-gfm' library (instead of 'Pandoc'). Some missing Markdown features in 'cmark-gfm' are also supported, such as raw HTML or 'LaTeX' blocks, 'LaTeX' math, superscripts, subscripts, footnotes, element attributes, and appendices, but not all 'Pandoc' Markdown features are (or will be) supported. With additional JavaScript and CSS, you can also create HTML slides and articles. This package can be viewed as a trimmed-down version of R Markdown and 'knitr'. It does not aim at rich Markdown features or a large variety of output formats (the primary formats are HTML and 'LaTeX'). Book and website projects of multiple input documents are also supported.

Version: 1.0
Depends: R (≥ 3.2.0)
Imports: utils, xfun (≥ 0.62)
Suggests: rbibutils, rstudioapi, testit, tinyimg, tinytex
Published: 2026-11-02
DOI: 10.32614/CRAN.package.litedown
Author: Yihui Xie ORCID iD [aut, cre] (URL: https://yihui.org), Tim Taylor ORCID iD [ctb], John MacFarlane [cph] (Author of cmark), Jeroen Ooms [ctb, cph] (Author of the R bindings to cmark in the commonmark package, from which the C glue code was adapted), GitHub, Inc. [cph] (Author of the cmark-gfm extensions)
Maintainer: Yihui Xie <xie at yihui.name>
BugReports: https://github.com/yihui/litedown/issues
License: MIT + file LICENSE
URL: https://github.com/yihui/litedown
NeedsCompilation: yes
Materials: README, NEWS
In views: PackageDevelopment
CRAN checks: litedown results

Documentation:

Reference manual: litedown.html , litedown.pdf

Downloads:

Package source: litedown_1.0.tar.gz
Windows binaries: r-devel: litedown_0.11.zip, r-release: litedown_0.11.zip, r-oldrel: litedown_0.11.zip
macOS binaries: r-release (arm64): litedown_1.0.tgz, r-oldrel (arm64): litedown_1.0.tgz, r-release (x86_64): litedown_1.0.tgz, r-oldrel (x86_64): litedown_1.0.tgz
Old sources: litedown archive

Reverse dependencies:

Reverse imports: liteformats, markdown
Reverse suggests: ageutils, armadillo4r, atime, bigANNOY, bsplus, CbKST, cpp4r, cusna, easybio, fastymd, flashr, flexsynth, grates, heplots, incidence2, knitr, kstIO, lt, mirai, mlr3resampling, nanonext, paws.common, piar, polyCub, rapr, Rd2roxygen, rgeedim, rgeomorphon, ronfig, rsmatrix, RWsearch, sommer, sps, super, tinytable, wbstats, xfun, ympes

Linking:

Please use the canonical form https://CRAN.R-project.org/package=litedown to link to this page.