barryclark / jekyll-now

Build a Jekyll blog in minutes, without touching the command line.
MIT License
8.27k stars 35.24k forks source link

Change Code Highliting #461

Open windweller opened 8 years ago

windweller commented 8 years ago

Hi, is there any tutorial or instruction on how to replace the current code highlighting with another highlighter? Solarized Light is a bit too light and it's hard to see the code.

neizod commented 8 years ago

Install pygmentize (apt-get install python-pygments) and run:

pygmentize -f html -S colorful -a .highlight

Copy output and replace them into file _sass/_highlights.scss.

You can choose color palette by changing -S colorful to other style name. Some of popular style can be found here: https://help.farbox.com/pygments.html, or you can test out which style suit you best here: http://pygments.org/demo/.