我希望在 pre 元素中包含一个注释块,但我会收到以下错误:
Line 573: Unexpected token ===
我的玉pre
块是:
pre(class = "brush:javascript")
/*------------------------------------------------------------------------------------------------------------------------
@Author: Author Name
@www: www.author-site.ca
@github: author-github-username
@package: project-name
=============================================================================
Filename: filename.js
=============================================================================
This file is responsible for...
--------------------------------------------------------------------------------------------------------------------- */
我在Jade Documentation上读到pre
元素默认被转义;但是,鉴于上述错误,情况似乎并非如此。
如何在不出现语法错误的情况下转义上述代码块?