Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用Hyde静态网页生成器时,我的 Python 代码带有双括号
{% syntax %} var[["some-string"]] = foo {% endsyntax %}
这很奇怪,因为[["foo"]]是特殊的海德降价。
[["foo"]]
正常转义(例如通过使用HTML 转义字符)会失败,因为我们在语法块内。
海德语法块中的字符如何转义?