github-cheat-sheet
github-cheat-sheet copied to clipboard
Is it possible to display highlighted word diff in github pages?
Hi,
I often use diff --color-words for smaller changes. For what I see github supports that, but I can't see how to enable that via pygments highlighter. Is it possible?
If I understand what you mean:
```diff
--- funtion() {}
+++ function() {}
```
Which output this:
--- funtion() {}
+++ function() {}
I rather meant something like this: http://ryrych.github.io/2015/12/13/using-word-diff-for-smaller-changes-in-git.html
or https://github.com/tiimgreen/github-cheat-sheet/pull/126/files