Add line numbers to PRE-CODE source snippets

By Brian Donovan Last update Jul 3, 2008 — Installed 247 times.
Script Summary:
Add line numbers to lines within CODE elements nested within PRE elements (the format for code snippets on many developer-oriented sites)

This script has no discussions.

start the discussion

This script has no reviews.

Here's a side-by-side before and after view of the script in action (click for full-sized version):