Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
相当不言自明,但这是我想做的:
- foo = ['elements','here'] include includes/specifications/#{foo.length}
似乎不支持插值,因为玉将其解释为包含路径的字符串。
不幸的是,根据创建者的说法,在 Jade 的这个阶段无法做到这一点:
参考资料:https ://github.com/visionmedia/jade/issues/569