I'm currently writing posts for a blog developed using Jekyll.
Posts are written in markdown, however code blocks use Jekyll's Liquid syntax. Code blocks are opened with {% highlight language-name %} and closed with {% endhighlight %}, EG:
I understand that vim-pencil's HardPencil mode has the ability to suspend formatting in code blocks. How can I instruct HardPencil mode to treat text surrounded by {% highlight language-name %} and {% endhighlight %} as a code block?
I'm currently writing posts for a blog developed using Jekyll.
Posts are written in markdown, however code blocks use Jekyll's Liquid syntax. Code blocks are opened with
{% highlight language-name %}
and closed with{% endhighlight %}
, EG:I understand that vim-pencil's
HardPencil
mode has the ability to suspend formatting in code blocks. How can I instructHardPencil
mode to treat text surrounded by{% highlight language-name %}
and{% endhighlight %}
as a code block?