【发布时间】:2014-11-30 21:01:58
【问题描述】:
在Assemble documentation 中有关于从变量加载 Markdown 文件并使用如下把手呈现它的说明:
---
content: ../path/to/content.md
---
{{md content }}
在使用 Jade 代替 Handlebars 时有什么方法可以做到这一点?
我知道您可以像这样在 Jade 中使用包含包含的过滤器:include:md path/to/markdown.md,但我正在尝试加载由变量定义的降价文件,如上例所示,以及 Jade doesn't support variables in includes。
非常感谢。
【问题讨论】: