Discussions
Compile Markdown only files
over 8 years ago by Deleted User
I looked at https://github.com/static-dev/spike-tpl-jekyll and saw that the post examples are sugraml files with some Markdown. Is there a way to compile pure Markdown files?
over 8 years ago by Anonymous
Hey there Thilo!
So the problem with compiling pure markdown is that there is no way to specify whether markdown files are added to layout files, and if so how they fit in. What you can do instead is something like this: https://gist.github.com/jescalan/dafa23a202fd0b5490b5e6ab13a9418a
It's about three extra lines per file, but the flexibility it bring with regard to customizing with html when necessary and working with content blocks and layouts is huge.
Hope this helps!
ο»Ώ