DiffDigg

Settings

General Settings

Display line numbers in the margin for easier reference and navigation

14px

Diff Settings

Highlight changes at the word level for more granular comparison

Wrap long lines to prevent horizontal scrolling

Show visual guides for indentation levels

Actions

About Settings

Settings are applied immediately to the preview below, but only saved when you click the Save Settings button.

Preview

See how your settings will look with the sample diff below.

Changes: -0+0unchanged: 0
1
- 
-function calculateSum(a, b) {
1
+ 
+function calculateSum(a, b, c = 0) {
2
- 
-  // Add two numbers
2
+ 
+  // Add two or three numbers
3
- 
-  return a + b;
3
+ 
+  return a + b + c;
4
4
}
5
5
6
- 
-// Log the result
6
+ 
+// Log the result with different values
7
7
console.log(calculateSum(5, 10));
8
+ 
+console.log(calculateSum(5, 10, 15));