Skip to content

Instantly share code, notes, and snippets.

@stephensauceda
Forked from jimbojsb/gist:1630790
Created September 27, 2013 00:07
Show Gist options
  • Select an option

  • Save stephensauceda/6722380 to your computer and use it in GitHub Desktop.

Select an option

Save stephensauceda/6722380 to your computer and use it in GitHub Desktop.

Revisions

  1. @jimbojsb jimbojsb revised this gist Jan 18, 2012. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,16 @@
    Step 0:
    -------
    Get [Homebrew](http://mxcl.github.com/homebrew/) installed on your mac if you don't already have it

    Step 1:
    -------
    Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

    Step 2:
    -------
    Highlight your source. "highlight -O rtf myfile.php | pbcopy". This will highlight the source code in RTF format and copy the result of that operation to your Mac's clipboard.

    Step 3:
    -------
    Paste into your slide in Keynote. Keynote will create a new text box with your highlighted code. You can adjust the width as needed, and adjust the font size with cmd+ and cmd-

  2. @jimbojsb jimbojsb created this gist Jan 18, 2012.
    3 changes: 3 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Step 0:
    -------
    Get [Homebrew](http://mxcl.github.com/homebrew/) installed on your mac if you don't already have it