Code Mirror is a code editor implemented in JavaScript. They have a bunch of different modes, but I'm not sure about a straightforward way to do language detection (that would be great, it we could).
If we can't do language detection we should provide a drop down of languages and switch between the modes that way.
Code Mirror is a code editor implemented in JavaScript. They have a bunch of different modes, but I'm not sure about a straightforward way to do language detection (that would be great, it we could).
If we can't do language detection we should provide a drop down of languages and switch between the modes that way.