I am making my own theme in Jekyll, and I wanted to use syntax highlighting.
For this I did:
1) Install rouge
and kramdown
in my Gemfile
gem 'kramdown'
gem 'rouge'
2) Update my _config.yml
markdown: kramdown
highlighter: rouge
3) Write some code in my post
{% highlight javascript %}
$(".myClass").on("click", function(){...});
{% endhighlight %}
But I am still not getting any highlighting.
Why is that? Do I need to include an specific css
file in the <head>
?