bioperl / bioperl.github.io

The BioPerl Web site: http://bioperl.org
14 stars 9 forks source link

syntax coloring on wiki is better than current theme #5

Open pcantalupo opened 8 years ago

pcantalupo commented 8 years ago

As I've been fixing howtos, I notice that the syntax highlighting on the wiki is more informative and vibrant. I know nothing about jekyll themes. Is there a syntax highlighting option similar to the wiki?

bosborne commented 8 years ago

Paul,

The Markdown conversion is handled by redcarpet:

https://github.com/vmg/redcarpet https://github.com/vmg/redcarpet

At the bottom of the page it talks, a little bit, about how you can extend redcarpet, I guess that’s where you’d customize it to your liking. The themes are mostly about CSS or sass.

Brian O.

On Dec 5, 2015, at 11:31 AM, Paul Cantalupo notifications@github.com wrote:

As I've been fixing howtos, I notice that the syntax highlighting on the wiki is more informative and vibrant. I know nothing about jekyll themes. Is there a syntax highlighting option similar to the wiki?

— Reply to this email directly or view it on GitHub https://github.com/bioperl/bioperl.github.io/issues/5.

cjfields commented 8 years ago

Note that there will be a change from redcarpet to another syntax highlighter with the latest Github Pages effective May 1.

bosborne commented 8 years ago

Kramdown is the Markdown parser now, and Rouge is the syntax highlighter but the highlighting of the Perl code still does not work. Note that the files when viewed from within GitHub are highlighted correctly, the problem is with pages in GitHub Pages.