Syntax Highlighting Combine diff and xxx

主宰稳场 提交于 2019-12-31 19:23:45

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/41405248/syntax-highlighting-combine-diff-and-xxx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!