--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
10
node_modules/cardinal/examples/highlight-json.js
generated
vendored
Normal file
10
node_modules/cardinal/examples/highlight-json.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// This file will highlight the passed code using the custom theme when run via: "node highlight-json"
|
||||
|
||||
var cardinal = require('..');
|
||||
|
||||
var json = JSON.stringify({
|
||||
foo: 'bar',
|
||||
baz: 'quux'
|
||||
});
|
||||
|
||||
console.log(cardinal.highlight(json));
|
||||
Loading…
Reference in a new issue