UNPKG

highlight-it

Version:

A lightweight syntax highlighting library with themes, line numbers, and copy functionality

329 lines (253 loc) 4.18 kB
pre code.hljs { display: block; overflow-x: auto; padding: 1em; } code.hljs { padding: 3px 5px; } :root { color: #abb2bf; } .hljs-operator { color: #f92672; } .hljs-pattern-match { color: #f92672; } .hljs-pattern-match .hljs-constructor { color: #61aeee; } .hljs-function { color: #61aeee; } .hljs-function .hljs-params { color: #a6e22e; } .hljs-function .hljs-params .hljs-typing { color: #fd971f; } .hljs-module-access .hljs-module { color: #7e57c2; } .hljs-constructor { color: #e2b93d; } .hljs-constructor .hljs-string { color: #9ccc65; } .hljs-quote { color: #b18eb1; font-style: italic; } .hljs-formula { color: #c678dd; } .hljs-subst { color: #e06c75; } .hljs-literal { color: #56b6c2; } .hljs-meta .hljs-string { color: #98c379; } .hljs-class .hljs-title { color: #e6c07b; } .hljs-number { color: #d19a66; } .hljs-title { color: #61aeee; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .highlightit-theme-light { color: #383a42; .hljs-quote { color: #a0a1a7; font-style: italic; } .hljs-formula { color: #a626a4; } .hljs-subst { color: #e45649; } .hljs-literal { color: #0184bb; } .hljs-meta .hljs-string { color: #50a14f; } .hljs-number { color: #986801; } .hljs-title { color: #4078f2; } .hljs-class .hljs-title { color: #c18401; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } } @media (prefers-color-scheme: light) { :root.highlightit-theme-auto { color: #383a42; .hljs-quote { color: #a0a1a7; font-style: italic; } .hljs-formula { color: #a626a4; } .hljs-subst { color: #e45649; } .hljs-literal { color: #0184bb; } .hljs-meta .hljs-string { color: #50a14f; } .hljs-number { color: #986801; } .hljs-title { color: #4078f2; } .hljs-class .hljs-title { color: #c18401; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } } } .highlightit-container[data-theme='light'], .highlightit-container pre[data-theme='light'], .highlightit-container code[data-theme='light'] { color: #383a42; .hljs-quote { color: #a0a1a7; font-style: italic; } .hljs-formula { color: #a626a4; } .hljs-subst { color: #e45649; } .hljs-literal { color: #0184bb; } .hljs-meta .hljs-string { color: #50a14f; } .hljs-number { color: #986801; } .hljs-title { color: #4078f2; } .hljs-class .hljs-title { color: #c18401; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } } .highlightit-container[data-theme='dark'], .highlightit-container pre[data-theme='dark'], .highlightit-container code[data-theme='dark'] { color: #abb2bf; .hljs-operator { color: #f92672; } .hljs-pattern-match { color: #f92672; } .hljs-pattern-match .hljs-constructor { color: #61aeee; } .hljs-function { color: #61aeee; } .hljs-function .hljs-params { color: #a6e22e; } .hljs-function .hljs-params .hljs-typing { color: #fd971f; } .hljs-module-access .hljs-module { color: #7e57c2; } .hljs-constructor { color: #e2b93d; } .hljs-constructor .hljs-string { color: #9ccc65; } .hljs-quote { color: #b18eb1; font-style: italic; } .hljs-formula { color: #c678dd; } .hljs-subst { color: #e06c75; } .hljs-literal { color: #56b6c2; } .hljs-meta .hljs-string { color: #98c379; } .hljs-class .hljs-title { color: #e6c07b; } .hljs-number { color: #d19a66; } .hljs-title { color: #61aeee; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } }