Lines Matching refs:opts

2566 	function getLinesToHighlight(opts) {
2572 linesToHighlight = opts.highlight || [];
2581 function Renderer(code, matches, opts) {
2584 _this.opts = opts;
2588 _this.linesToHighlight = getLinesToHighlight(opts);
2617 spaces += _this.opts.space;
2676 firstLine = parseInt(this.opts.firstLine || 1),
2709 opts = _this.opts,
2712 firstLine = parseInt(opts.firstLine || 1),
2713 pad = opts.padLineNumbers,
2721 code = lineNumber == 0 ? opts.space : padNumber(lineNumber, pad);
2738 opts = _this.opts,
2740 padLength = opts.padLineNumbers,
2741 firstLine = parseInt(opts.firstLine || 1),
2742 brushName = opts.brush,
2755 spaces = spaces.replace(' ', opts.space);
2760 if (line.length == 0) line = opts.space;
2790 brushName = _this.opts.brush || '',
2823 opts = _this.opts,
2831 if (opts.collapse === true) classes.push('collapsed');
2833 gutter = opts.gutter !== false;
2838 classes.push(opts.className);
2841 classes.push(opts.brush);
2852 if (opts.autoLinks) html = _this.processUrls(html);
2854 …er="0" cellpadding="0" cellspacing="0">\n ' + _this.getTitleHtml(opts.title) + '\n …
2965 module.exports = function (code, opts) {
2966 code = trim(code, opts);
2967 code = bloggerMode(code, opts);
2968 code = stripBrs(code, opts);
2969 code = unindenter.unindent(code, opts);
2971 var tabSize = opts['tab-size'];
2972 …code = opts['smart-tabs'] === true ? retabber.smart(code, tabSize) : retabber.regular(code, tabSiz…
2983 module.exports = function (code, opts) {
2999 module.exports = function (code, opts) {
3002 if (opts['bloggerMode'] === true) code = code.replace(br, '\n');
3013 module.exports = function (code, opts) {
3016 if (opts['stripBrs'] === true) code = code.replace(br, '');
3261 function findElementsToHighlight(opts) {
3262 var elements = getElementsByTagName(opts['tagName']),
3267 if (opts['useScriptTags']) {