Inline support

This commit is contained in:
tjvr 2016-04-16 16:09:19 +01:00
parent ffdd99f7e8
commit 9076494b5c

View file

@ -902,6 +902,10 @@ var scratchblocks = function () {
languages: ['en'],
}, options);
if (options.inline) {
code = code.replace(/\n/g, ' ');
}
var languages = options.languages.map(function(code) {
return allLanguages[code];
});