2017-09-13 07:52:34 +02:00

15 lines
262 B
JavaScript
Vendored

// This file will highlight the passed code using the custom theme when run via: "node highlight-string"
var cardinal = require('..');
var code = '' +
function add (a, b) {
var sum = a + b;
return sum;
} +
'';
console.log(cardinal.highlight(code));