Hi ! I just begin on Codemirror, that’s great !
Just a question : is it possible to combine htmlmixed + twig modes ?
I suspect something like mode: {name: "twig", base: "text/html"}
(with both modes loaded) should work.
Thanks Marijn for your answer. I tried with the right syntax " {name: “twig”, htmlMode: true} " but no result…
That is, in fact, the wrong syntax. I just noticed that the twig demo uses it, but the htmlMode
option isn’t actually read at all by the mode.
Thanks a lot Marijn, that works great with your syntax !! I just loaded the multiplex.js addon with. If I meet you a day, we’ll took a bier