I had no idea about the diff highlight! Can you combine it with a JS syntax highlight?
Im definitely using this in my next tutorials btw. Thanks a bunch for the article!
As far as I know you can't have two languages selected so if you have diff there's no way to add another language.
That's why I only use diff when it's a change of a few characters, if the change is more than a line I'll use they language for the syntax highlighting.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.