How to highlight the editor in markdown mode?

You need to use the markdown language extension, and you need to supply a list of compatible code languages. Here’s an example of my implementation. Happy to answer any questions you have.