I've just seen this (old) post, and I was wondering if we could the same thing using GitHub flavoured markdown: Combine the normal syntax highlighting with the diff
one.
I tried a few things, like
```python&diff
- import that
+ import this
```
```python
- import that
+ import this
```
```pythondiff
- import that
+ import this
```
```diffpython
- import that
+ import this
```
But none of them worked... So, do any of you know how to do this? Or it's not possible?
The old post you refer to is "Syntax Highlighted Diffs ", Dec. 2014
However, nothing in the current GFM (GitHub Flavored Markdown) suggests this particular combination (of diff and syntax highlighting) is currently supported.