hl
Use Atom's syntax-highlighter from the command line.
npm install hl -g
Provides syntax highlighting for:
- JavaScript
- Ruby
- JSON
- ObjectiveC
- CPP
- Markdown
- Python
Open an issue or pull-request if we're missing a language you'd like to see!
Usage
hl index.jshl main.rbhl foo.mhl package.json
You can also use unix pipes:
cat index.rb | hl --extension=rb --pipe
API
var hl = var out = console
License
ISC