Open ratnanil opened 3 years ago
this question has been answered here: https://stackoverflow.com/questions/69333890/using-jekylls-includes-with-remark/69365142?noredirect=1#comment122607165_69365142
the answer shows the reason, I haven't been able to find a workaround yet
@ratnanil Can you use partial with jekyll?
This is working with middleman https://github.com/flexbox/courses/blob/master/source/presentations/book/index.html.slim#L36
= partial 'layouts/presentation/speaker'
I'm happily using remark with jekyll. Jekyll let's me work with a template file, as it is descrbed in the wiki.
I would also like to use jekyll's
include
command in my slides, e.g.{% include something.html %}
. But somehow, I cant get this working: when I build my slides, the command{% include something.html %}
is parsed literally into my slide (see screenshot below).The content of my
default-presentation.md
file is below, where as_includes/test.html
contains just<p>test</p>
. I've also created a minimal repo containing all the files, here