Expand description
同一 URL 两份 Markdown 快照的块级差异对比,并区分噪声变化。
Structs§
Enums§
Functions§
- diff
- diff_
with - inline_
diff - normalize
- 去零位宽字符、NFC、折叠空白;代码块只去行尾空白,保留缩进。
- split_
blocks - unified_
diff - 逐行比较,每处变化前后带
context行上下文;相邻变化的上下文重叠时合并成一个 hunk(同 git)。
同一 URL 两份 Markdown 快照的块级差异对比,并区分噪声变化。
context 行上下文;相邻变化的上下文重叠时合并成一个 hunk(同 git)。