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