bbbcbb52eac3c81c15ca434c5089a70b7e988f1d.svn-base 241 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 'use strict' var fs = require('fs') var highlight = require('./highlight') module.exports = function highlightFileSync(fullPath, opts) { var code = fs.readFileSync(fullPath, 'utf-8') opts = opts || { } return highlight(code, opts) }