I want to create an editor where user can put code in different language by selecting one of the language from dropdown. And code will be highlighted according to that particular language.
What should I use for code highlighting , codemirror looks to be a solution.I have seen many sites where they attribute to codemirror for syntax highlighting
Jekyll with Github Pages uses Pygments - according to their website, it has support for 300+ languages. (Full list here)