Add draft line numbering logic for code samples.