KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can CodeMirror 2 be used to highlight code from a DIV or PRE tag (without the editor)? Like CodeMirror 1 used to be able to do with the hightlightText() function? For example here: http://codemirror.net/1/highlight.html , after you press run highlight (the highlighted text below) Also can it highlight code from a inline element, like <code> , and keep the results inline, like Google's Prettify does?
Tags (comma-separated)
Save Edits
Cancel