Skip to content
Permalink
Browse files
add code highting from hightlightjs.org
  • Loading branch information
dave2wave committed Jun 4, 2021
1 parent 02313c1 commit 6e4bda5e29422325b3a8516550b00fe63c5f3af3
Showing 2 changed files with 92 additions and 0 deletions.
@@ -0,0 +1,89 @@
/*
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
From https://raw.githubusercontent.com/highlightjs/highlight.js/main/src/styles/arduino-light.css
Modified the background to be #f5f5f5
*/

.hljs {
background: #f5f5f5;
color: #434f54;
}

.hljs-subst {
color: #434f54;
}

.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-doctag,
.hljs-name {
color: #00979D;
}

.hljs-built_in,
.hljs-literal,
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #D35400;
}

.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #00979D;
}

.hljs-type,
.hljs-string,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #005C5F;
}

.hljs-comment {
color: rgba(149,165,166,.8);
}

.hljs-meta .hljs-keyword {

color: #728E00;
}

.hljs-meta {
color: #434f54;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

.hljs-function {
color: #728E00;
}

.hljs-title,
.hljs-section {
color: #880000;
font-weight: bold;
}

.hljs-number {
color: #8A7B52;
}
@@ -145,6 +145,9 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"; type="text/javascript"></script>
<script src="/resources/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/resources/css/arduino-light.css">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.0.1/build/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

</body>
</html>

0 comments on commit 6e4bda5

Please sign in to comment.