var hl = require("../lib/highlight.js").Highlight, code_string = "", code_block = "

PHP code:

\n"+ "", html1 = hl(code_string), // convert all html2 = hl(code_string,' '), // convert with special tab replacer html3 = hl(code_block, false, true); // convert only inside console.log(html1); console.log(html2); console.log(html3);