Sha256: e324c399266174a887fd191ce9dc5c599481eeb678c79e689b19b876462ce6fd
Contents?: true
Size: 462 Bytes
Versions: 72
Compression:
Stored size: 462 Bytes
Contents
// This file will highlight itself using the default theme when run via: "node highlight-self" var cardinal = require('..'); function highlight () { // Using the asynchronous highlightFile() // For synchronous highlighting use: highlightFileSync() - see highlight-self-hide-semicolons.js cardinal.highlightFile(__filename, { linenos: true }, function (err, res) { if (err) return console.error(err); console.log(res); }); } highlight();
Version data entries
72 entries across 72 versions & 3 rubygems