擅长:python、mysql、java
<p>也许<em><a href="https://github.com/wspringer/difr" rel="nofollow">difr</a></em>就是你想要的。它接受任何类型的git样式的diff作为输入,并生成一个与GitHub提供的类似的HTML版本。(它嵌入了一个编辑器,用于添加一些小注释。这可能比你要求的要多一点,但我不认为这会妨碍你。)</p>
<p><a href="https://github.com/wspringer/difr" rel="nofollow">https://github.com/wspringer/difr</a></p>