html/rainbow/rainbow.js
function _highlightBlockForLanguage(code, language, onComplete) {
        var patterns = _getPatternsForLanguage(language);
        _processCodeWithPatterns(_htmlEntities(code), patterns, onComplete);
    }
function _highlightBlockForLanguage(code, language, onComplete) {
        var patterns = _getPatternsForLanguage(language);
        _processCodeWithPatterns(_htmlEntities(code), patterns, onComplete);
    }
function _highlightBlockForLanguage ( code , language , onComplete ) { var patterns = _getPatternsForLanguage ( language ) ; _processCodeWithPatterns ( _htmlEntities ( code ) , patterns , onComplete ) ; }
takes a string of code and highlights it according to the language specified

@param {string} code
@param {string} language
@param {Function} onComplete
@returns void
takes a string of code and highlights it according to the language specified