I have code in @snippet.code
, and I want to highlight it with harsh:
:harsh
#!harsh theme = lazy
= @snippet.code
However, this just highlights @snippet.code
, so the output is:
<pre class="lazy"><span class="Keyword">=</span> <span class="Variable"><span class="Variable">@</span>snippet</span>.code
</pre>
How can I use Harsh with generated code? Thanks