我期待包括pre元素內的註釋塊,但我會得到以下錯誤:玉:正確轉義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
元素默認被轉義;然而,鑑於上述錯誤,這似乎並不是這種情況。
如何在不出現語法錯誤的情況下轉義上述代碼塊?