SCSS syntax highlighting

100 views
Skip to first unread message

Kurt Emch

unread,
Jan 27, 2013, 6:53:38 PM1/27/13
to highl...@googlegroups.com
Hi Ivan,

I created a fork of highlight.js to add Sass (scss) support. I have it working so far, but am hoping to find some contributors to make a little more solid. https://github.com/kemch/highlight.js

Depending on the contents of the test, I get some conflicts with CSS (because they're so similar), and haven't quite figured out the best way to handle the way sass nests definitions. Also, it would be a little more future-proof if it could utilize regular expressions more, as I am using keywords.

Kurt

Ivan Sagalaev

unread,
Jan 28, 2013, 12:36:06 AM1/28/13
to highl...@googlegroups.com
Hi Kurt,

It's usually a good idea to merge even the basic support into master, it
makes it more visible for potential contributors.

I'll try to look at your branch both for nests and conflicts with CSS
sometime next week. I have quite a backlog of highlight.js related
things to work through.

Kurt Emch

unread,
Jan 29, 2013, 12:15:13 AM1/29/13
to highl...@googlegroups.com
Ivan, Great I'll continue to work in my branch as I make improvements. Thanks! 




--





--
Kurt

marcvangend

unread,
Mar 24, 2013, 6:50:00 PM3/24/13
to highl...@googlegroups.com
Hi,
I don't mean to be pushy, but is there any progress on this? I could really use SCSS highlighting.
Thanks, Marc

Op dinsdag 29 januari 2013 06:15:13 UTC+1 schreef Kurt Emch het volgende:

Ivan Sagalaev

unread,
Mar 25, 2013, 1:48:51 AM3/25/13
to highl...@googlegroups.com
Kurt never sent a pull request and his last commit into the branch was
about 2 months ago. However there seems to be done a significant amount
of work and I think the best way forward is for someone familiar with
SCSS to fork Kurt's branch and finish it.

Kurt Emch

unread,
Mar 25, 2013, 10:37:07 AM3/25/13
to highl...@googlegroups.com
Thanks for reminding me about this. The SCSS syntax highlighting in my branch works as expected. It could use some improvement I'm sure as I've only used it on a couple posts of mine since.

Ivan, could we get it into the main branch to increase exposure to contributors?

Ivan Sagalaev

unread,
Mar 25, 2013, 2:40:38 PM3/25/13
to highl...@googlegroups.com
Sure! Create a pull request on GitHub from your branch[1] (this is
usually how a maintainer knows if a fork is ready to be merged).

[1]: https://help.github.com/articles/using-pull-requests

Marc van Gend

unread,
Mar 25, 2013, 3:29:33 PM3/25/13
to highl...@googlegroups.com
Thanks, good to see the renewed energy here. I'll be happy to test it once it's merged into the main repo.


2013/3/25 Ivan Sagalaev <man...@softwaremaniacs.org>
Sure! Create a pull request on GitHub from your branch[1] (this is usually how a maintainer knows if a fork is ready to be merged).

[1]: https://help.github.com/articles/using-pull-requests


--
You received this message because you are subscribed to the Google Groups "highlight.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highlightjs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Ivan Sagalaev

unread,
Mar 27, 2013, 1:54:14 AM3/27/13
to highl...@googlegroups.com
� and it's in. Just merged the fork into master.

Marc van Gend

unread,
Mar 27, 2013, 2:32:37 AM3/27/13
to highl...@googlegroups.com

Nice. Hope to find some time to test it later today.

Op 27 mrt. 2013 06:54 schreef "Ivan Sagalaev" <man...@softwaremaniacs.org> het volgende:
… and it's in. Just merged the fork into master.

Kurt Emch

unread,
Mar 27, 2013, 11:11:57 AM3/27/13
to highl...@googlegroups.com
Awesome, by all means!


--
You received this message because you are subscribed to a topic in the Google Groups "highlight.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/highlightjs/Se27UZ3Ofrc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to highlightjs...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Kurt
Reply all
Reply to author
Forward
0 new messages