【问题标题】:What is the comment syntax in Yesod (hamlet) templates?Yesod (hamlet) 模板中的注释语法是什么?
【发布时间】:2016-04-20 18:26:18
【问题描述】:

我只是找不到如何在 hamlet 模板中注释行。 cmets有一些语法吗?喜欢

-- <p>Some code should be ignored by template

还是什么?

【问题讨论】:

    标签: templates haskell yesod hamlet shakespeare-text


    【解决方案1】:

    在最新版本中,行注释以$# 开头,也可以使用由&lt;!----&gt; 分隔的普通html 注释。在source file 中查看。

    【讨论】:

      猜你喜欢
      • 2014-06-12
      • 2014-05-10
      • 1970-01-01
      • 2012-07-31
      • 1970-01-01
      • 1970-01-01
      • 2022-01-04
      • 2015-12-10
      • 1970-01-01
      相关资源
      最近更新 更多