There are three ways to write code snippets in jekyll:
1 - jekyll backlight
{% highlight python %} import urllib2 [...] {% endhighlight %}
2 - secure code block
```python import urllib2 [...] ``` ~~~python import urllib2 [...] ~~~
3 - markdown 4 prints in space
import urllib2 [...]
Only the first and second can generate blush code. The third, the one you are actually using, only surrounds your code with a tag, but rouge or any marker you set will not be used by kramdown.
So, you can switch to the first or second solution.
Another thing, if you want to "color your code", you need to highlight css. You can search for pigment style sheets.
source share