From 54441e6a22be3969dd934ccb769f5d7dde684bfb Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Thu, 28 Jan 2016 11:54:24 -0500 Subject: [PATCH] Switched index to use Jekyll's code highlighting We previously used Google's Prettify, which worked on the client side. Now that we are actually using Jekyll, and it has built-in syntax highlighting, we might as well change to doing highlighting on the backend. --- docs/index.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/index.html b/docs/index.html index dfd06e2f..35de6a96 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,6 @@ slug: home
-
@@ -124,10 +123,10 @@ slug: home section of your HTML.

-
-<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet" />
-<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>
-
+{% highlight html %} + + +{% endhighlight %}
@@ -141,11 +140,11 @@ slug: home want to make awesome.

-
-<script type="text/javascript">
+{% highlight html %}
+
+{% endhighlight %}
 
       
       
  • @@ -178,10 +177,10 @@ slug: home section of your HTML.

    -
    -<link href="path/to/select2.min.css" rel="stylesheet" />
    -<script src="path/to/select2.min.js"></script>
    -
    +{% highlight html %} + + +{% endhighlight %}