是否可以在GitHub diff查看器中换行? [英] Is it possible to wrap long lines in the GitHub diff viewer?

查看:108
本文介绍了是否可以在GitHub diff查看器中换行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能在GitHub差异查看器中换行很长吗?

可能是查询字符串参数?

解决方案

请注意,从2013年12月3日起,GitHub现在提出,你可以看到这一行软包装。


Is it possible to wrap long lines in the GitHub diff viewer?

Maybe a query string param?

解决方案

Note that from December 3rd, 2013, GitHub now proposes "Soft-wrapping on prose diffs":
(Meaning you might not have to put anything special in the url or as a query to benefit from that feature)

Before:

After:

See as an example a diff on a patch I did, where you can see the line soft-wrapped.

这篇关于是否可以在GitHub diff查看器中换行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆