DEV Community 👩‍💻👨‍💻

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

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!

yechielk profile image
Yechiel Kalmenson Author

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.