Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flex uses Pygments for code highlight and has a lot of styles ready for use. You just need to pick up one from below:
And set it in your
PYGMENTS_STYLE = 'monokai'
You can see how most of this styles looks like at Pygments Demo.
How to add new Styles?
github all other styles are built in from Pygments. If you want to add a new one, you need to find a Python package that is what you want or you can create your own.
After this, you can run the tool inside Flex to generate all Pygments CSS files and run
gulp to minify.