Updated Line Based Diffs (markdown)

master
Wilfred Hughes 2025-03-30 21:22:16 +07:00
parent 5c2281638a
commit fc769f2989
1 changed files with 1 additions and 7 deletions

@ -16,7 +16,7 @@ $ diff --color=always -u sample_files/css_before.css sample_files/css_after.css
### Patience Diff ### Patience Diff
Myer's diff has a problem with sliders: Myers diff has a problem with sliders:
```diff ```diff
if (!$smtp_server) { if (!$smtp_server) {
@ -105,12 +105,6 @@ $ diff -y --color=always sample_files/css_before.css sample_files/css_after.css
[prettydiff](https://github.com/romankoblov/prettydiff) does really [prettydiff](https://github.com/romankoblov/prettydiff) does really
well out of the box with the sample files here. It implements LCS on words. well out of the box with the sample files here. It implements LCS on words.
### wu-diff
[wu-diff](https://crates.io/crates/wu-diff) doesn't have much
documentation, but it gives the same results as other LCS
implementations in Rust.
### delta ### delta
[delta](https://github.com/dandavison/delta) performs line based diffs, then uses levenshtein distance to highlight parts within the line. It also offers syntax highlighting. [delta](https://github.com/dandavison/delta) performs line based diffs, then uses levenshtein distance to highlight parts within the line. It also offers syntax highlighting.