Created
December 20, 2017 20:43
-
-
Save jgthms/8e73fbebdde5094a0e84a246c2af82a0 to your computer and use it in GitHub Desktop.
JSFiddle syntax highlighting colors for highlight js (hljs)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .hljs { | |
| display: block; | |
| overflow-x: auto; | |
| color: #000; | |
| background-color: transparent; | |
| padding: 0; | |
| margin: 0; | |
| -webkit-text-size-adjust: none; | |
| } | |
| .hljs-comment, | |
| .diff .hljs-header { | |
| color: #909197; | |
| font-style: italic; | |
| } | |
| .hljs-keyword, | |
| .assignment, | |
| .hljs-literal, | |
| .css .rule .hljs-keyword, | |
| .hljs-winutils, | |
| .javascript .hljs-title, | |
| .lisp .hljs-title, | |
| .hljs-subst { | |
| color: #a151d2; | |
| } | |
| .hljs-number, | |
| .hljs-hexcolor { | |
| color: #ed5c65; | |
| } | |
| .hljs-string, | |
| .hljs-tag .hljs-value, | |
| .hljs-doctag, | |
| .tex .hljs-formula, | |
| .hljs-name { | |
| color: #249d7f; | |
| } | |
| .hljs-params { | |
| color: #2795ee; | |
| } | |
| .javascript .hljs-title, | |
| .lisp .hljs-title, | |
| .hljs-subst { | |
| font-weight: normal; | |
| } | |
| .hljs-class .hljs-title, | |
| .haskell .hljs-label, | |
| .tex .hljs-command { | |
| color: #458; | |
| font-weight: bold; | |
| } | |
| .hljs-tag, | |
| .hljs-tag .hljs-title, | |
| .hljs-rule .hljs-property, | |
| .django .hljs-tag .hljs-keyword { | |
| color: #2795ee; | |
| font-weight: normal; | |
| } | |
| .hljs-attribute, | |
| .hljs-variable, | |
| .instancevar, | |
| .lisp .hljs-body { | |
| color: #2795ee; | |
| } | |
| .hljs-regexp { | |
| color: #b68; | |
| } | |
| .hljs-class { | |
| color: #333; | |
| font-weight: bold; | |
| } | |
| .hljs-symbol, | |
| .ruby .hljs-symbol .hljs-string, | |
| .ruby .hljs-symbol .hljs-keyword, | |
| .ruby .hljs-symbol .keymethods, | |
| .lisp .hljs-keyword, | |
| .tex .hljs-special, | |
| .input_number { | |
| color: #990073; | |
| } | |
| .hljs-preprocessor, | |
| .hljs-pragma, | |
| .hljs-pi, | |
| .hljs-doctype, | |
| .hljs-shebang, | |
| .hljs-cdata { | |
| color: #999; | |
| font-weight: bold; | |
| } | |
| .hljs-deletion { | |
| background: #fdd; | |
| } | |
| .hljs-addition { | |
| background: #dfd; | |
| } | |
| .diff .hljs-change { | |
| background: #0086b3; | |
| } | |
| .hljs-chunk { | |
| color: #aaa; | |
| } | |
| .tex .hljs-formula { | |
| opacity: .5; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment