HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 13:40:35 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100208182743
location: https://web.archive.org/web/20100208182743/https://code.google.com/p/google-code-prettify
server-timing: captures_list;dur=0.820825, exclusion.robots;dur=0.071618, exclusion.robots.policy;dur=0.059031, esindex;dur=0.010420, cdx.remote;dur=161.233349, LoadShardBlock;dur=372.717755, PetaboxLoader3.datanode;dur=168.159353, PetaboxLoader3.resolve;dur=64.820900
x-app-server: wwwb-app246-dc8
x-ts: 302
x-tr: 761
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app246; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 13:40:35 GMT
content-type: text/html; charset=UTF-8
x-archive-orig-date: Mon, 08 Feb 2010 18:27:43 GMT
x-archive-orig-pragma: no-cache
x-archive-orig-expires: Fri, 01 Jan 1990 00:00:00 GMT
x-archive-orig-cache-control: no-cache, must-revalidate
x-archive-orig-x-content-type-options: nosniff
x-archive-orig-server: codesite
x-archive-orig-x-xss-protection: 0
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 08 Feb 2010 18:27:43 GMT
link:
; rel="original",
; rel="timemap"; type="application/link-format",
; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100208104016_crawl103_IndexOnly-c/51_14_20100208182531_crawl103.arc.gz
server-timing: captures_list;dur=0.602336, exclusion.robots;dur=0.018749, exclusion.robots.policy;dur=0.007495, esindex;dur=0.008922, cdx.remote;dur=11.597294, LoadShardBlock;dur=111.047312, PetaboxLoader3.datanode;dur=161.789472, PetaboxLoader3.resolve;dur=80.375943, load_resource;dur=139.624168
x-app-server: wwwb-app246-dc8
x-ts: 200
x-tr: 338
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=3
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
google-code-prettify -
Project Hosting on Google Code
A Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page.
For an example, see the README
Download
Change Log
Features
- Works on HTML pages
- Works even if code contains embedded links, line numbers, etc.
- Simple API : include some JS&CSS and add an onload handler.
- Lightweights : small download and does not block page from loading while running.
- Customizable styles via CSS.
- Supports all C-like, Bash-like, and XML-like languages. No need to specify the language
- Extensible language handlers for other languages. You can specify the language.
- Widely used with good cross-browser support. Powers code.google.com