Insert syntax highlighted source in Powerpoint
Problem
You want to have syntax highlighted source in Powerpoint.
Solution
First, create an RTF file from the source:
pygmentize -f rtf -o hello.rtf hello.py
Open the RTF file in Word, select the source, then insert it in Powerpoint.
I made a basic script to automate the conversion. Usage:
py2rtf hello.py
The script is available here.
Categories: python, windows
powerpoint, syntax highlighting
Comments (0)
Trackbacks (0)
Leave a comment
Trackback