First Commit
This commit is contained in:
11
html/sternwarte/checkfuehrung/node_modules/cardinal/examples/highlight-json.js
generated
vendored
Executable file
11
html/sternwarte/checkfuehrung/node_modules/cardinal/examples/highlight-json.js
generated
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
// This file will highlight the passed code using the custom theme when run via: "node highlight-json"
|
||||
'use strict'
|
||||
|
||||
var cardinal = require('..')
|
||||
|
||||
var json = JSON.stringify({
|
||||
foo: 'bar',
|
||||
baz: 'quux'
|
||||
})
|
||||
|
||||
console.log(cardinal.highlight(json))
|
||||
Reference in New Issue
Block a user