Live data from Hacker News

Rainbow.js - code syntax highlighting in 1.2kb

craig.is

31–34 of 34 posts

Re: Rainbow.js - code syntax highlighting in 1.2kb

#32
post #11

Earlier quoted context omitted.

Looks to me like Rainbow.init() would do it.

Yeah I just have to make Rainbow.init() public and make it ignore blocks that have already been processed. Then this will work. Feel free to make a ticket for me on https://github.com/ccampbell/rainbow/issues

Thanks! Looks like Issue#6 has already been created.

Re: Rainbow.js - code syntax highlighting in 1.2kb

#33
post #17

So... why should I use this instead of http://softwaremaniacs.org/soft/highlight/en/ ?

No one says you should. It's an alternate implementation. I don't understand the "competition" angle, is there a paid version for both of these projects that is forcing people to choose one over the other?

Re: Rainbow.js - code syntax highlighting in 1.2kb

#34
post #17

So... why should I use this instead of http://softwaremaniacs.org/soft/highlight/en/ ?

No one says you should. It's an alternate implementation. I don't understand the "competition" angle, is there a paid version for both of these projects that is forcing people to choose one over the other?

I believe if you are making some new application solving problem which has existing solution you should at least provide some clues why it was done.
Post reply on HN