varout=Parser.parse(tokens,opt);opt.highlight=highlight;returncallback(null,out)};for(;i<l;i++)(function(token){if(token.type!=="code")return;pending++;returnhighlight(token.text,token.lang,function(err,code){if(code==null||code===token.text)return--pending||done();token.text=code;token.escaped=true;--pending||done()})})(tokens[i]);return}try{if(opt)opt=merge({},marked.defaults,opt);returnParser.parse(Lexer.lex(src,opt),opt)}catch(e){e.message+="\nPlease report this to https://github.com/chjj/marked.";