Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 03fd439

Browse files
committed
Removed Prism.js dependency
1 parent 4bbc001 commit 03fd439

File tree

5 files changed

+90
-156
lines changed

5 files changed

+90
-156
lines changed

_includes/head.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: full_base_url }}"/>
1313
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: full_base_url }}"/>
1414

15-
<script src="{{ "/js/prism.js" | prepend: full_base_url }}" defer async></script>
16-
1715
{% if jekyll.environment == 'production' and site.google_analytics %}
1816
{% include google-analytics.html %}
1917
{% endif %}

_sass/minima.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ $on-laptop: 800px !default;
3939
@import
4040
"minima/base",
4141
"minima/layout",
42-
"minima/prism",
42+
"minima/syntax-highlighting",
4343
"minima/intra-navigation"
4444
;
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
/* Solarized Light
2+
3+
For use with Jekyll and Pygments
4+
5+
Source: https://gist.github.com/nicolashery/5765395#file-solarized-light-css
6+
7+
http://ethanschoonover.com/solarized
8+
9+
SOLARIZED HEX ROLE
10+
--------- -------- ------------------------------------------
11+
base01 #586e75 body text / default code / primary content
12+
base1 #93a1a1 comments / secondary content
13+
base3 #fdf6e3 background
14+
orange #cb4b16 constants
15+
red #dc322f regex, special keywords
16+
blue #268bd2 reserved keywords
17+
cyan #2aa198 strings, numbers
18+
green #859900 operators, other keywords
19+
*/
20+
21+
.highlight { background-color: #fdf6e3; color: #586e75 }
22+
.highlight .c { color: #93a1a1 } /* Comment */
23+
.highlight .err { color: #586e75 } /* Error */
24+
.highlight .g { color: #586e75 } /* Generic */
25+
.highlight .k { color: #859900 } /* Keyword */
26+
.highlight .l { color: #586e75 } /* Literal */
27+
.highlight .n { color: #586e75 } /* Name */
28+
.highlight .o { color: #859900 } /* Operator */
29+
.highlight .x { color: #cb4b16 } /* Other */
30+
.highlight .p { color: #586e75 } /* Punctuation */
31+
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
32+
.highlight .cp { color: #859900 } /* Comment.Preproc */
33+
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
34+
.highlight .cs { color: #859900 } /* Comment.Special */
35+
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
36+
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
37+
.highlight .gr { color: #dc322f } /* Generic.Error */
38+
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
39+
.highlight .gi { color: #859900 } /* Generic.Inserted */
40+
.highlight .go { color: #586e75 } /* Generic.Output */
41+
.highlight .gp { color: #586e75 } /* Generic.Prompt */
42+
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
43+
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
44+
.highlight .gt { color: #586e75 } /* Generic.Traceback */
45+
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
46+
.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
47+
.highlight .kn { color: #859900 } /* Keyword.Namespace */
48+
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
49+
.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
50+
.highlight .kt { color: #dc322f } /* Keyword.Type */
51+
.highlight .ld { color: #586e75 } /* Literal.Date */
52+
.highlight .m { color: #2aa198 } /* Literal.Number */
53+
.highlight .s { color: #2aa198 } /* Literal.String */
54+
.highlight .na { color: #586e75 } /* Name.Attribute */
55+
.highlight .nb { color: #B58900 } /* Name.Builtin */
56+
.highlight .nc { color: #268bd2 } /* Name.Class */
57+
.highlight .no { color: #cb4b16 } /* Name.Constant */
58+
.highlight .nd { color: #268bd2 } /* Name.Decorator */
59+
.highlight .ni { color: #cb4b16 } /* Name.Entity */
60+
.highlight .ne { color: #cb4b16 } /* Name.Exception */
61+
.highlight .nf { color: #268bd2 } /* Name.Function */
62+
.highlight .nl { color: #586e75 } /* Name.Label */
63+
.highlight .nn { color: #586e75 } /* Name.Namespace */
64+
.highlight .nx { color: #586e75 } /* Name.Other */
65+
.highlight .py { color: #586e75 } /* Name.Property */
66+
.highlight .nt { color: #268bd2 } /* Name.Tag */
67+
.highlight .nv { color: #268bd2 } /* Name.Variable */
68+
.highlight .ow { color: #859900 } /* Operator.Word */
69+
.highlight .w { color: #586e75 } /* Text.Whitespace */
70+
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
71+
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
72+
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
73+
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
74+
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
75+
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
76+
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
77+
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
78+
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
79+
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
80+
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
81+
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
82+
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
83+
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
84+
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
85+
.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
86+
.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
87+
.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
88+
.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
89+
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */

_sass/minima/prism.scss

Lines changed: 0 additions & 149 deletions
This file was deleted.

js/prism.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)