Can we add support for diff syntax highlighting?

For example, the following should have syntax color highlighting:

-   spec_version: 9270,
+   spec_version: 9280,

2 Answers 2


that would be nice. js as well would be helpful I suspect if there's not a hook for that specifically.


diff is not a supported "highlighted syntax" on StackExchange.

You can find the complete list here: What is syntax highlighting and how does it work?

So it does not seem like something we can add, without having it be added all the way at the top of the StackExchange platform.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .