1

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?

jason.the-graham.com/2010/11/21/kramdown_support_for_jekyll

Zombo
  • 1
  • 62
  • 391
  • 407

1 Answers1

1

Lucky me!

You can do this

{:lang='bash'}
~~~
{% include rtmpdump-w32-build-100.sh %}
~~~

ยง Fenced Code Blocks

Zombo
  • 1
  • 62
  • 391
  • 407