Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript LESS/SASS Highlighting with Highlight.js Re: LESS/SASS Highlighting with Highlight.js

#130289
Noel Forte
Participant

Problem solved!

I was actually able to get LESS highlighting working, but a different way than I originally expected. It turns out that the [LESS Website](http://lesscss.org/ “The Less Website”) has a great little highlighter that basically does what Highlight.js has done. I was able to include it on my own site, and the thing works great!

I’ve gone ahead and copied the plugin into a [public gist](http://gist.github.com/thenoelforte/5277779 “my little gist for less highlighting with the plugin that I borrowed”) so that people can have access to it. Hooray! I also went ahead and opened an issue on the [LESS github repository](http://github.com/cloudhead/less.js/issues/1249 “The LESS github repo”) so that people can contribute to making this more of a reality, because according to the developers, the highliting plugin for less is out of date.

Hope this is helpful! I’ll mark this as solved.