Skip to content

downlit

0.4.5

Syntax Highlighting and Automatic Linking

12packages depend
2.1Mdownloads / year
93.8%test coverage
13/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2020-09-019 releasesCRAN page ↗GitHub ↗

Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It includes linking of function calls to their documentation on the web, and automatic translation of ANSI escapes in output to the equivalent HTML.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.66
93.8%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-07-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-04
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 366 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
64%
Return-value docs
100%
References docs
0%

Downloads

2.1M
CRAN downloads in the past year
Rank #256 · ~5.9K/day · ~177.9K/mo
Daily download trend is not available in this view yet.
161.4K30 days
546.3K90 days
2.1M1 year
Compare downloads with other packages →
Also on94.7K r2u44 autocran215.1K conda_forge60 c2d4u

Repository

Repository
90Stars
28Forks
36Open issues
7Open PRs
9Releases
256Commits
16Contributors
rsyntax-highlighting
256 commits · Last activity 2026-07-07

Forks over time

2026-07-14 · 272026-07-18 · 28

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/r-lib/downlit on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder · added in 0.4.4
Funders (1)
Copyright holder, Funder · added in 0.4.4
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.4.3
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.5Latest
    2025-11-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4
    2024-06-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.3
    2023-06-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.2
    2022-07-05 · diff ↗
  • 0.4.1
    2022-06-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    2021-10-29 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.1
    2020-11-04 · diff ↗
  • 0.2.0
    2020-09-25 · diff ↗
  • 0.1.0
    2020-09-01
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-01
Total releases
9 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Download size
36 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →