Attach sequential integer labels to physical lines with configurable origin, separator, width, and padding character.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
CRLF or LF creates the row array, then a counter advances only for rows selected for numbering. Starting at 1 with ": " is the default, and width zero aligns labels to the digits in start + physical row count − 1.
function greet() {
return "hello";
}
1: function greet() {
2: return "hello";
3: }
Bug reports label log excerpts, code-review comments identify pasted snippet rows, and poetry worksheets number physical lines.