Skip to content

Instantly share code, notes, and snippets.

@okmanideep
Created November 17, 2015 21:44
Show Gist options
  • Save okmanideep/aa0890c6da9104e16a7a to your computer and use it in GitHub Desktop.
Save okmanideep/aa0890c6da9104e16a7a to your computer and use it in GitHub Desktop.
Syntax highlighting scheme for your code and pre blocks in jekyll which almost matches that of github
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #a71d5d;} /* Keyword */
.highlight .cm { color: #969896 } /* Comment.Multiline */
.highlight .cp { color: #cc0000;} /* Comment.Preproc */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #303030 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #606060 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #0086b3;} /* Keyword.Constant */
.highlight .kd { color: #a71d5d;} /* Keyword.Declaration */
.highlight .kn { color: #a71d5d;} /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800;} /* Keyword.Reserved */
.highlight .kt { color: #a71d5d;} /* Keyword.Type */
.highlight .m { color: #0000DD;} /* Literal.Number */
.highlight .s { color: #183691;} /* Literal.String */
.highlight .n {color: #333;}
.highlight .na { color: #0086b3 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #795da3;} /* Name.Class */
.highlight .no { color: #003366;} /* Name.Constant */
.highlight .nd { color: #a71d5d } /* Name.Decorator */
.highlight .ne { color: #bb0066;} /* Name.Exception */
.highlight .nf { color: #795da3;} /* Name.Function */
.highlight .nl { color: #336699;} /* Name.Label */
.highlight .nn { color: #333;} /* Name.Namespace */
.highlight .py { color: #336699;} /* Name.Property */
.highlight .nt { color: #bb0066;} /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #0000DD;} /* Literal.Number.Float */
.highlight .mh { color: #0000DD;} /* Literal.Number.Hex */
.highlight .mi { color: #0086b3;} /* Literal.Number.Integer */
.highlight .mo { color: #0000DD;} /* Literal.Number.Oct */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment