Adds line numbers to code extracts.