Skip to main content

diff_calc

Function diff_calc 

Source
pub fn diff_calc(query: &str) -> String
Expand description

Line and word diff — offline, instant (replaces diffchecker.com).

Separator: use ||| to split two inline texts.

Commands: <textA> ||| <textB> — line diff word <textA> ||| <textB> — word-level diff <file1> <file2> — diff two files