Craig Campbell
Craig Campbell
I am not sure about specifics, but I think I do need to modularize the language bundles too. I am aware that #234 deals with some of that. I just...
Is there a page/jsfiddle where I can see the behavior?
Hmm. So this is actually not a bug per se, but a feature of rainbow. The thought process was that if you wanted to highlight code using rainbow then you...
Hi @etetlow. I believe the issue here is that the browser is interpreting the < and > tags in your javascript as html tags. Try replacing them with `<` and...
You have to escape the html entities. Otherwise the browser will render them as normal HTML. See #145
Yeah, I didn't write the Java grammars. I actually wonder if Java should inherit from the generic grammars. Almost all of the rules are repeats from `generic.js`, and as you...
You should not need the final script block. Rainbow should do this itself. See https://github.com/ccampbell/rainbow/blob/master/js/rainbow.js#L787-L792 Where is that not working?
Ah I see the problem. Blogger ajaxes in all the content after onload or domready has already fired. I'm not sure if there is a callback for when the content...
I tried typing `Rainbow.color();` into the console after it loaded and that worked. So it should be fine if you attach it after the content is there.
Also found this http://stackoverflow.com/questions/21317616/dom-manipulation-after-load