Add Line Numbers to Text

Prefix every line with a sequential line number — perfect for code samples and references.