modernist
modernist copied to clipboard
Pygments syntax highlighting is broken in modernist
Example of breakage: http://egonschiele.github.io/contracts.ruby
I think Pygments updated it's css tags, and the modernist stylesheet hasn't been updated to account for this. Here's the stylesheet used on the example page:
http://egonschiele.github.io/contracts.ruby/stylesheets/pygment_trac.css
Keywords are highlighted with this rule, for example:
.highlight .k { color: #66d9ef } /* Keyword */
But if you look at the html generated by Pygments, it looks like this:
<span class="pl-k">def</span>
All the tags have "pl-" prepended to them, and pygment_trac.css isn't written to work with that. So nothing is being highlighted. Related issue in my project:
https://github.com/egonSchiele/contracts.ruby/issues/76