-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from tasmo/highlight.js
Adds highlight.js
- Loading branch information
Showing
256 changed files
with
37,102 additions
and
98 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<section {% if post.slide-id %}id="{{post.slide-id}}"{%endif %} class="step{%if post.classes | size %}{% for class in post.classes %} {{class}}{% endfor %}{% else %} slide{% endif %}" {% unless site.simple-slideshow %}{% for attr in post.data %} data-{{attr[0]}}="{{attr[1]}}"{% endfor %}{% endunless %}> | ||
{% if post.title != "" %}<h1>{{ post.title }}</h1>{% endif %} | ||
{% if post.title != "" %}<h1>{{ post.title }}</h1>{% endif %} | ||
|
||
{{ post.content }} | ||
{{ post.content }} | ||
</section> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% include head.html %} | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="reveal"> | ||
{{ content }} | ||
</div> | ||
<div class="reveal"> | ||
{{ content }} | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% include head.html %} | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="reveal"> | ||
<div class="step"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
<div class="reveal"> | ||
<div class="slides"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/*! | ||
Theme: a11y-dark | ||
Author: @ericwbailey | ||
Maintainer: @ericwbailey | ||
Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css | ||
*/ | ||
|
||
.hljs { | ||
background: #2b2b2b; | ||
color: #f8f8f2; | ||
} | ||
|
||
/* Comment */ | ||
.hljs-comment, | ||
.hljs-quote { | ||
color: #d4d0ab; | ||
} | ||
|
||
/* Red */ | ||
.hljs-variable, | ||
.hljs-template-variable, | ||
.hljs-tag, | ||
.hljs-name, | ||
.hljs-selector-id, | ||
.hljs-selector-class, | ||
.hljs-regexp, | ||
.hljs-deletion { | ||
color: #ffa07a; | ||
} | ||
|
||
/* Orange */ | ||
.hljs-number, | ||
.hljs-built_in, | ||
.hljs-literal, | ||
.hljs-type, | ||
.hljs-params, | ||
.hljs-meta, | ||
.hljs-link { | ||
color: #f5ab35; | ||
} | ||
|
||
/* Yellow */ | ||
.hljs-attribute { | ||
color: #ffd700; | ||
} | ||
|
||
/* Green */ | ||
.hljs-string, | ||
.hljs-symbol, | ||
.hljs-bullet, | ||
.hljs-addition { | ||
color: #abe338; | ||
} | ||
|
||
/* Blue */ | ||
.hljs-title, | ||
.hljs-section { | ||
color: #00e0e0; | ||
} | ||
|
||
/* Purple */ | ||
.hljs-keyword, | ||
.hljs-selector-tag { | ||
color: #dcc6e0; | ||
} | ||
|
||
.hljs-emphasis { | ||
font-style: italic; | ||
} | ||
|
||
.hljs-strong { | ||
font-weight: bold; | ||
} | ||
|
||
@media screen and (-ms-high-contrast: active) { | ||
.hljs-addition, | ||
.hljs-attribute, | ||
.hljs-built_in, | ||
.hljs-bullet, | ||
.hljs-comment, | ||
.hljs-link, | ||
.hljs-literal, | ||
.hljs-meta, | ||
.hljs-number, | ||
.hljs-params, | ||
.hljs-string, | ||
.hljs-symbol, | ||
.hljs-type, | ||
.hljs-quote { | ||
color: highlight; | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-selector-tag { | ||
font-weight: bold; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/*! | ||
Theme: a11y-light | ||
Author: @ericwbailey | ||
Maintainer: @ericwbailey | ||
Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css | ||
*/ | ||
|
||
.hljs { | ||
background: #fefefe; | ||
color: #545454; | ||
} | ||
|
||
/* Comment */ | ||
.hljs-comment, | ||
.hljs-quote { | ||
color: #696969; | ||
} | ||
|
||
/* Red */ | ||
.hljs-variable, | ||
.hljs-template-variable, | ||
.hljs-tag, | ||
.hljs-name, | ||
.hljs-selector-id, | ||
.hljs-selector-class, | ||
.hljs-regexp, | ||
.hljs-deletion { | ||
color: #d91e18; | ||
} | ||
|
||
/* Orange */ | ||
.hljs-number, | ||
.hljs-built_in, | ||
.hljs-literal, | ||
.hljs-type, | ||
.hljs-params, | ||
.hljs-meta, | ||
.hljs-link { | ||
color: #aa5d00; | ||
} | ||
|
||
/* Yellow */ | ||
.hljs-attribute { | ||
color: #aa5d00; | ||
} | ||
|
||
/* Green */ | ||
.hljs-string, | ||
.hljs-symbol, | ||
.hljs-bullet, | ||
.hljs-addition { | ||
color: #008000; | ||
} | ||
|
||
/* Blue */ | ||
.hljs-title, | ||
.hljs-section { | ||
color: #007faa; | ||
} | ||
|
||
/* Purple */ | ||
.hljs-keyword, | ||
.hljs-selector-tag { | ||
color: #7928a1; | ||
} | ||
|
||
.hljs-emphasis { | ||
font-style: italic; | ||
} | ||
|
||
.hljs-strong { | ||
font-weight: bold; | ||
} | ||
|
||
@media screen and (-ms-high-contrast: active) { | ||
.hljs-addition, | ||
.hljs-attribute, | ||
.hljs-built_in, | ||
.hljs-bullet, | ||
.hljs-comment, | ||
.hljs-link, | ||
.hljs-literal, | ||
.hljs-meta, | ||
.hljs-number, | ||
.hljs-params, | ||
.hljs-string, | ||
.hljs-symbol, | ||
.hljs-type, | ||
.hljs-quote { | ||
color: highlight; | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-selector-tag { | ||
font-weight: bold; | ||
} | ||
} |
Oops, something went wrong.