你如何阻止Pug模板引擎中的注释代码?
我知道如何评论一条线:
//-doesn't show
但我不想写这样的完整HTML评论:
Dan Armstron.. 52
//- Just indent the comment like normal elements
只需缩进你的评论,就像你做其他元素一样.
请注意,您的缩进是正确的,或者您可能会发表超出预期的评论.