Last active
January 15, 2016 21:35
-
-
Save ismnoiet/b4e22ee4706bf4586a9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python-pip | |
pip install Pygments | |
pygmentize -f rtf code/i/want/to/highlight.sh > hightlighted_code.rtf | |
credit: | |
http://stratus3d.com/blog/2015/08/21/inserting-code-samples-into-libreoffice-impress/ | |
default styles can be found : | |
/usr/local/lib/python2.7/dist-packages/pygments/styles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment