When writing markdown with code to be read by Jekyll, you can enable syntax highlighting with
{% highlight python %}
x = ('a', 1, False)
{% endhighlight %}
However, this becomes a bit verbose if you constantly switch between code and text. Is it possible to introduce a YAML variable in the header, like
---
layout: page
title: "Syntax highlighting"
tags : [python, jekyll]
language: python
---
so that every code block on this page will be highlighted like python, but only needs to be indented, and not fenced off?