Skip to content

Commit

Permalink
feat: add more default option for setting diff2html
Browse files Browse the repository at this point in the history
  • Loading branch information
neighborhood999 committed Sep 29, 2019
1 parent be757e9 commit 8b3d14c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export const defaultOptions = {
showFiles: false,
matching: 'none',
matchWordsThreshold: 0.25,
matchingMaxComparisons: 2500
matchingMaxComparisons: 2500,
maxLineSizeInBlockForComparison: 200,
maxLineLengthHighlight: 10000,
renderNothingWhenEmpty: false
};

const compare = ({ past, current, options }) => {
Expand Down

0 comments on commit 8b3d14c

Please sign in to comment.