Closed curtismchale closed 11 years ago
If you'd like to submit LESS syntax highlighting as a patch we'd certainly look at adding it.
I can take a stab at that sure. I took a quick poke around at it looks like I'd actually submit that over on https://github.com/crowdfavorite/wp-capsule-ui correct?
That's correct - most of the highlighting comes from Ace
https://github.com/ajaxorg/ace
Looks like there is LESS support there already:
https://github.com/ajaxorg/ace/tree/master/lib/ace/mode
So it should be just a matter of adding that language to Capsule.
LESS highlighting actually does work. the issue was with my content which I found as I was trying to reduce the test case and start a patch.
LESS syntax doesn't highlight properly and the 'code' comments don't start break appropriately.
Here is the markup I was using inside capsule.
https://gist.github.com/curtismchale/5951318