Skip to content

thiemol/pango-syntax-highlighter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pango Syntax Highlighter

This is an incredibly basic tool for Python 3.x for use when creating images for slides with code snippets in. It takes a given file and using Pygments it converts it into a syntax highlighted Pango compatible output.

Usage example:

python3 pangosyntaxhighlight.py cpp myfile.cpp output.txt && pango-view --markup --font=mono -qo image.png output.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%