我很高兴使用 jekyll 的评论。Jekyll 让我使用模板文件,因为它在wiki中有所描述。
我还想include在我的幻灯片中使用 jekyll 的命令,例如{% include something.html %}. 但不知何故,我无法让它工作:当我构建我的幻灯片时,命令被逐字{% include something.html %}解析到我的幻灯片中(见下面的截图)。
我的default-presentation.md文件内容如下,其中 as_includes/test.html仅包含<p>test</p>. 我还在这里创建了一个包含所有文件的最小存储库。
完全披露:我也通过github issue问了这个问题
---
layout: presentation
title: Default Presentation
permalink: /default-presentation/
---
# My Awesome Presentation
{% include test.html %}
