I have a Jekyll blog, I am trying to switch from this
{:lang='bash'}
#!/bin/sh
echo 'Hello World!'
To this
{:lang='bash'}
{% include program-w32-build-100.sh %}
The include
inserts the text from the file, and the lang='bash'
is supposed to highlight it. Since the text in the file is not tabbed, it does not get highlighted. Is there a way to make this happen?
Lucky me!
You can do this
{:lang='bash'}
~~~
{% include rtmpdump-w32-build-100.sh %}
~~~