|
|
@ -294,6 +294,16 @@ Renderer.prototype.render = function (tokens, options, env) { |
|
|
|
}, ''); |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Renderer.renderTokens(tokens, options, env) -> String |
|
|
|
* - tokens (Array): list on block tokens to renter |
|
|
|
* - options (Object): params of parser instance |
|
|
|
* - env (Object): additional data from parsed input (references, for example) |
|
|
|
* |
|
|
|
* Takes token stream and generates html-like tokens. Probably, you will never need to call |
|
|
|
* this method directly. |
|
|
|
**/ |
|
|
|
Renderer.prototype.renderTokens = function (tokens, options, env) { |
|
|
|
var i, len, type, |
|
|
|
result = '', |
|
|
|