ixkaito / highlight-monokai-theme

Monokai Theme for Hightlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monokai Theme for Hightlight

Installation

  1. Get Homebrew installed on your mac if you don't already have it.

  2. Install highlight.

    $ brew install highlight
  3. Download the theme.

  4. Move monokai.theme into your highlight theme directory. Usually it's /usr/local/Cellar/highlight/<version>/share/highlight/themes.

Usage

$ highlight -O rtf -s monokai -k 'Menlo' -K 12 -t 2 file.js | pbcopy

This will highlight the source code in RTF format and copy the result of that operation to your Mac's clipboard.

  • -s or --style sets the theme
  • -k or --font sets the font face
  • -s or --font-size sets the font size
  • -t or --tab - sets the tab length

License

MIT

About

Monokai Theme for Hightlight