googlearchive/code-prettify
An embeddable script that makes source-code snippets in HTML prettier. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4151
- days_rel: n/a
- days_push: 2325
- n_releases_24m: 0
Adoption not part of the score
5756 stars · 885 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An embeddable JavaScript library that adds syntax highlighting to source-code snippets in HTML pages via a simple script include and CSS classes. It supports many C-like, Bash-like, and XML-like languages out of the box with extensible language handlers.
Use cases
- highlight code snippets on a blog or documentation site
- add syntax coloring to HTML pages without a build step
- make source code in <pre> blocks readable
- embed a lightweight code highlighter via CDN script tag
- support many languages with automatic detection
When to choose
- you need a zero-build, drop-in script tag highlighter for a static HTML page
- you want broad cross-browser support and tiny footprint
- you're maintaining a legacy site already using prettyprint classes
When to avoid
- starting a new project - the repo is archived and unmaintained since 2020
- you need modern language support or active bug fixes
- you're using a bundler-based workflow where Prism or Shiki fit better
Facets
library · maturity abandoned
parser frontend-framework web-development frontend developer-tools documentation browser syntax-highlighting code-snippets embeddable-script archived client-side javascript
1 source
- readme: https://github.com/googlearchive/code-prettify · fetched 2026-08-28 · 728db410c5d1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| googlearchive/code-prettify | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="googlearchive/code-prettify")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem