UNPKG

highlight-it

Version:

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

227 lines (177 loc) 2.93 kB
pre code.hljs { display: block; overflow-x: auto; padding: 1em; } code.hljs { padding: 3px 5px; } :root { color: #e6e6e6; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .hljs-quote { color: #bbbbbb; font-style: italic; } .hljs-params { color: #bbbbbb; } .hljs-attr { color: #e6e6e6; } .hljs-meta { color: #ff4b82; } .hljs-deletion { color: #ff75b5; } .hljs-meta .hljs-string { color: #19f9d8; } .hljs-meta .hljs-keyword, .hljs-punctuation { color: #ffb86c; } .highlightit-theme-light { color: #2a2c2d; .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .hljs-quote { color: #676b79; font-style: italic; } .hljs-params { color: #676b79; } .hljs-attr { color: #2a2c2d; } .hljs-deletion { color: #d92792; } .hljs-meta .hljs-string { color: #0d7d6c; } .hljs-meta .hljs-keyword { color: #7641bb; } } @media (prefers-color-scheme: light) { :root.highlightit-theme-auto { color: #2a2c2d; .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .hljs-quote { color: #676b79; font-style: italic; } .hljs-params { color: #676b79; } .hljs-attr { color: #2a2c2d; } .hljs-deletion { color: #d92792; } .hljs-meta .hljs-string { color: #0d7d6c; } .hljs-meta .hljs-keyword { color: #7641bb; } } } .highlightit-container[data-theme='light'], .highlightit-container pre[data-theme='light'], .highlightit-container code[data-theme='light'] { color: #2a2c2d; .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .hljs-quote { color: #676b79; font-style: italic; } .hljs-params { color: #676b79; } .hljs-attr { color: #2a2c2d; } .hljs-deletion { color: #d92792; } .hljs-meta .hljs-string { color: #0d7d6c; } .hljs-meta .hljs-keyword { color: #7641bb; } } .highlightit-container[data-theme='dark'], .highlightit-container pre[data-theme='dark'], .highlightit-container code[data-theme='dark'] { color: #e6e6e6; .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .hljs-link { text-decoration: underline; } .hljs-quote { color: #bbbbbb; font-style: italic; } .hljs-params { color: #bbbbbb; } .hljs-attr { color: #e6e6e6; } .hljs-meta { color: #ff4b82; } .hljs-deletion { color: #ff75b5; } .hljs-meta .hljs-string { color: #19f9d8; } .hljs-meta .hljs-keyword, .hljs-punctuation { color: #ffb86c; } }