Skip to content

Commit

Permalink
Add CSS rule for c-Singleline
Browse files Browse the repository at this point in the history
Due a bug in the Perl 6 pygments lexer, single line comments
are given a CSS class that doesn't exist in the normal set
of classes that pygments provides.  This will allow single-line
comments to be highlighted until that bug is fixed
  • Loading branch information
hoelzro committed Feb 13, 2015
1 parent 017a076 commit 1ee80b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/css/pygments.css
Expand Up @@ -4,6 +4,7 @@ pre { line-height: 125%; }
body .hll { background-color: #ffffcc }
body { background: #f8f8f8; }
body .c { color: #408080; font-style: italic } /* Comment */
body .c-Singleline { color: #408080; font-style: italic } /* Comment */
body .err { border: 1px solid #FF0000 } /* Error */
body .k { color: #008000; font-weight: bold } /* Keyword */
body .o { color: #666666 } /* Operator */
Expand Down

0 comments on commit 1ee80b8

Please sign in to comment.