Skip to content

Instantly share code, notes, and snippets.

@rkmylo
Created October 7, 2017 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkmylo/938f88dbfc9312c8c3785f685440a627 to your computer and use it in GitHub Desktop.
Save rkmylo/938f88dbfc9312c8c3785f685440a627 to your computer and use it in GitHub Desktop.
Add syntax-highlighted code to PowerPoint slides (Mac OSX)
  1. Copy code to clipboard

  2. pbpaste | pygmentize -l python -f rtf | pbcopy

  3. In Powerpoint: Edit > Paste Special...

  4. Paste as: Formatted Text (RTF)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment