I am comparing to txt files with a context of just 50 lines and like how github's display compares file, I wanted to show "..." when skipping intermediate lines that are not showed by context (the set of lines that are same in both files)
Anyway to generate them whilst still rendering diff in html?
I am comparing to txt files with a context of just 50 lines and like how github's display compares file, I wanted to show "..." when skipping intermediate lines that are not showed by context (the set of lines that are same in both files) Anyway to generate them whilst still rendering diff in html?
Trying
.each_chunk.to_a
doesn't help either because at the end diff has to be rendered in html