tools

Add Line Numbers

Put a sequential number in front of every line of a text, with a chosen first number, step and separator. Blank lines can keep their place without taking a number, and the numbers can be padded so the text after them lines up. Use it to cite log lines, contract clauses or manuscript lines.

post/api/v1/tools/add-line-numbers

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/tools/add-line-numbers
  • Auth: HTTP bearer

Request body

textstring
startinteger
stepinteger
separatorstring
skipEmptyLinesboolean
padNumbersboolean

Response

Successful result

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.