Worked example
The add line numbers changes "a\nb" becomes "1. a\n2. b".
Before you rely on the result
Line endings become standard newlines. A final newline is an empty final line.
Cite this page
ToolOctopus. “Add line numbers.” Updated . https://tooloctopus.com/add-line-numbers.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.