Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lettertwo/highlight-utils
Themes and language defs for use with highlight
https://github.com/lettertwo/highlight-utils
Last synced: 25 days ago
JSON representation
Themes and language defs for use with highlight
- Host: GitHub
- URL: https://github.com/lettertwo/highlight-utils
- Owner: lettertwo
- Created: 2014-11-18T02:07:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-18T02:22:52.000Z (almost 10 years ago)
- Last Synced: 2024-04-15T22:21:29.599Z (7 months ago)
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Highlight Utils
Themes and language defs for use with [highlight][1]
## Installation
1. `brew install highlight`
1. `git clone https://github.com/lettertwo/highlight-utils.git`
1. `cd highlight-utils`
1. `make install`## Usage
Print to stdout:
```bash
highlight -O xterm256 -t 2 -K 24 -k 'DejaVu Sans Mono' -S jsx -s monokai-e public/Tab.js
```Copy to clipboard:
```bash
highlight -O rtf -t 2 -K 24 -l -k 'DejaVu Sans Mono' -S jsx -s monokai-e public/Tab.js | pbcopy
```The clipboard contents are suitable for pasting in Keynote to make pretty slides 'n stuff.
[1]: http://www.andre-simon.de/doku/highlight/en/highlight.php