1

When using the Hyde static webpage generator I have Python code with double brackets

{% syntax %}
var[["some-string"]] = foo
{% endsyntax %}

This renders oddly because [["foo"]] is special Hyde markdown.

Normal escaping (e.g. through the use of HTML escape characters) fails because we're inside of a syntax block.

How does one escape characters within a Hyde syntax block?

MRocklin
  • 55,641
  • 23
  • 163
  • 235

0 Answers0