First Commit

This commit is contained in:
2025-11-02 22:52:08 +01:00
commit 73fbbf1be2
5821 changed files with 977526 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// This file will highlight itself using the default theme when run via: "node highlight-self"
'use strict'
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()