Ask a question to get started
Enter to send•Shift+Enter new line
Format a unified diff with line numbers and colors.
format_diff_textual( diff: str, max_lines: int | None = 100, ) -> str
diff
str
Unified diff string
max_lines
int | None
100
Maximum number of diff lines to show (None for unlimited)