Ask a question to get started
Enter to send•Shift+Enter new line
format_content_with_line_numbers( content: str | list[str], start_line: int = 1
content
str | list[str]
start_line
int
1
Format file content with line numbers (cat -n style).
cat -n
Chunks lines longer than MAX_LINE_LENGTH with continuation markers (e.g., 5.1, 5.2).
MAX_LINE_LENGTH
5.1
5.2
File content as string or list of lines
Starting line number