Transformers.markdown is deprecated, you must replace the :markdown jade filter, with :markdown and install jstransformer-markdown before you update to jade@2.0.0. 可以運(yùn)行,但是報(bào)了這個(gè)錯(cuò)。
2017-09-05
最新回答 / fighting_wang
你好,小小見解 style后面加了.之后就是塊狀元素了,生成如下,所以不應(yīng)該有.<style> ? ?:less ? ?body { ? ?p{ ? ?color:#ccc; ? ?} ? ?} ? ?</style> ? ?希望會(huì)對你有幫助呦~
2017-08-02
doctype html
html(lang="en")
head
block head
body
block body
html(lang="en")
head
block head
body
block body
2017-07-15
#{name} 會(huì)轉(zhuǎn)義變量
!{name} 不會(huì)轉(zhuǎn)義變量,直接輸出
!{name} 不會(huì)轉(zhuǎn)義變量,直接輸出
2017-07-15
// 用 json 輸出數(shù)據(jù)
pug index.pug -P -w -O index.json
pug index.pug -P -w -O index.json
2017-07-15