Skip to content

Commit f45992c

Browse files
Add better highlighting
1 parent 10d7b23 commit f45992c

File tree

6 files changed

+60
-49
lines changed

6 files changed

+60
-49
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source "https://rubygems.org"
2-
ruby RUBY_VERSION
2+
ruby "2.5.5"
33

44
gem "jekyll", "3.3.1"
55

@@ -9,4 +9,5 @@ gem "minima", "~> 2.0"
99
# If you have any plugins, put them here!
1010
group :jekyll_plugins do
1111
gem "jekyll-feed", "~> 0.6"
12+
gem 'pygments.rb', '~> 1.2', '>= 1.2.1'
1213
end

Gemfile.lock

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.5.1)
5-
public_suffix (~> 2.0, >= 2.0.2)
4+
addressable (2.5.2)
5+
public_suffix (>= 2.0.2, < 4.0)
66
colorator (1.1.0)
7-
ffi (1.9.18)
7+
ffi (1.9.21)
88
forwardable-extended (2.6.0)
99
jekyll (3.3.1)
1010
addressable (~> 2.4)
@@ -17,29 +17,38 @@ GEM
1717
pathutil (~> 0.9)
1818
rouge (~> 1.7)
1919
safe_yaml (~> 1.0)
20-
jekyll-feed (0.9.2)
20+
jekyll-feed (0.9.3)
2121
jekyll (~> 3.3)
22-
jekyll-sass-converter (1.5.0)
22+
jekyll-sass-converter (1.5.2)
2323
sass (~> 3.4)
24-
jekyll-watch (1.5.0)
25-
listen (~> 3.0, < 3.1)
26-
kramdown (1.13.2)
24+
jekyll-watch (1.5.1)
25+
listen (~> 3.0)
26+
kramdown (1.16.2)
2727
liquid (3.0.6)
28-
listen (3.0.8)
28+
listen (3.1.5)
2929
rb-fsevent (~> 0.9, >= 0.9.4)
3030
rb-inotify (~> 0.9, >= 0.9.7)
31+
ruby_dep (~> 1.2)
3132
mercenary (0.3.6)
32-
minima (2.1.0)
33+
minima (2.1.1)
3334
jekyll (~> 3.3)
34-
pathutil (0.14.0)
35+
multi_json (1.12.2)
36+
pathutil (0.16.1)
3537
forwardable-extended (~> 2.6)
36-
public_suffix (2.0.5)
37-
rb-fsevent (0.9.8)
38-
rb-inotify (0.9.8)
39-
ffi (>= 0.5.0)
38+
public_suffix (3.0.1)
39+
pygments.rb (1.2.1)
40+
multi_json (>= 1.0.0)
41+
rb-fsevent (0.10.2)
42+
rb-inotify (0.9.10)
43+
ffi (>= 0.5.0, < 2)
4044
rouge (1.11.1)
45+
ruby_dep (1.5.0)
4146
safe_yaml (1.0.4)
42-
sass (3.4.23)
47+
sass (3.5.5)
48+
sass-listen (~> 4.0.0)
49+
sass-listen (4.0.0)
50+
rb-fsevent (~> 0.9, >= 0.9.4)
51+
rb-inotify (~> 0.9, >= 0.9.7)
4352

4453
PLATFORMS
4554
ruby
@@ -48,6 +57,7 @@ DEPENDENCIES
4857
jekyll (= 3.3.1)
4958
jekyll-feed (~> 0.6)
5059
minima (~> 2.0)
60+
pygments.rb (~> 1.2, >= 1.2.1)
5161

5262
RUBY VERSION
5363
ruby 2.3.3p222

_examples/grid_view.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
description: An example of the tutors list in TutorCruncher socket using the Grid View.
66
---
77
{% highlight html %}
8-
<div id="grid-view"></div>
8+
<div id="grid-view"></div>
99

10-
<script>
11-
socket('{{ site.socket_key }}', {
12-
router_mode: 'history',
13-
element: '#grid-view',
14-
mode: 'grid'
15-
});
16-
</script>
10+
<script>
11+
socket('{{ site.socket_key }}', {
12+
router_mode: 'history',
13+
element: '#grid-view',
14+
mode: 'grid'
15+
});
16+
</script>
1717
{% endhighlight %}
1818

1919
<div id="grid-view"></div>

_examples/label_example.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
description: An example of the tutors list in TutorCruncher socket using the Labels filter. These tutors all have a label called London Tutors.
66
---
77
{% highlight html %}
8-
<div id="label-filter"></div>
8+
<div id="label-filter"></div>
99

10-
<script>
11-
socket('{{ site.socket_key }}', {
12-
router_mode: 'history',
13-
labels_include: ['london-tutors'],
14-
element: '#label-filter'
15-
});
16-
</script>
10+
<script>
11+
socket('{{ site.socket_key }}', {
12+
router_mode: 'history',
13+
labels_include: ['london-tutors'],
14+
element: '#label-filter'
15+
});
16+
</script>
1717
{% endhighlight %}
1818

1919
<div id="label-filter"></div>

_examples/list_view.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
description: An example of the tutors list in TutorCruncher socket using the List View
66
---
77
{% highlight html %}
8-
<div id="list-view"></div>
8+
<div id="list-view"></div>
99

10-
<script>
11-
socket('{{ site.socket_key }}', {
12-
router_mode: 'history',
13-
element: '#list-view',
14-
mode: 'list'
15-
});
16-
</script>
10+
<script>
11+
socket('{{ site.socket_key }}', {
12+
router_mode: 'history',
13+
element: '#list-view',
14+
mode: 'list'
15+
});
16+
</script>
1717
{% endhighlight %}
1818

1919
<div id="list-view"></div>

_examples/subject_filter.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
description: An example of the tutors list in TutorCruncher socket using the Subject Filter
66
---
77
{% highlight html %}
8-
<div id="subject-filter"></div>
8+
<div id="subject-filter"></div>
99

10-
<script>
11-
socket('{{ site.socket_key }}', {
12-
router_mode: 'history',
13-
element: '#subject-view',
14-
mode: 'grid'
15-
});
16-
</script>
10+
<script>
11+
socket('{{ site.socket_key }}', {
12+
router_mode: 'history',
13+
element: '#subject-view',
14+
mode: 'grid'
15+
});
16+
</script>
1717
{% endhighlight %}
1818

1919
<div id="subject-view"></div>

0 commit comments

Comments
 (0)