Does anyone have made a ‘htmlmixed’ + ‘Velocity’ mode for codemirror? Or anyone can advice how to achieve that?
Does anyone have made a ‘htmlmixed’ + ‘Velocity’ mode for codemirror? Or anyone can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You might be able to get somewhere using the mode-multiplexer, if there are specific strings that you want to use to switch mode on. But it looks like Velocity would require something more advanced. So you’d have to write your own super-mode, similar to what the htmlmixed mode does, which intelligently switches between modes.