DEV Community

Discussion on: These lifehacks will change the way you write Markdown!

Collapse
 
antjanus profile image
Antonin J. (they/them)

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!

Collapse
 
yechielk profile image
Yechiel Kalmenson

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.