jade filters 下怎么套变量?


block content
  article.entry
    h2= entry.title
    span.author= entry.author
    datetime= entry.date
    section
      :markdown
        #{entry.content} //这个地方要输出变量的值。

现在的结果是<h2>{entry.content}</h2>
请问应该怎么让这个地方输出entry.content的值?

Express node.js jade markdown

Psyche 10 years, 4 months ago

这样应该做不到吧?

buslss answered 10 years, 4 months ago

Your Answer