Both Jekyll and Hugo allow for html files instead of md. Would be great to see the same for Zola. I have just begun looking at zola and this caught my eye. Why it’s not natively supported? To use Zola without markdown at all?
Markdown supports HTML by default, what changes except the extension?
The idea is that perhaps some people would like to use Zola with no markdown at all to minimize complexity. Using *.md files looks messy in such a case. *.html files would be the most clean solution that signals no dependency on markdown. Just sharing my first thoughts, I am sure you better understand the trade-offs and use-cases.
One example of the decision not to use markdown: I’m rewriting my book in HTML instead of Markdown. Here’s why. Another opinion: What’s Wrong with Markdown? – Adam Hyde
I see. There’s no plan to support that. You can just use an empty .md file like
+++
+++
<div>
Your HTML there
</div>
if you really want to. At this point there’s no need to use a SSG though
SSG still seems to be necessary for includes (footer, header etc.), categories, tags and so on. Markdown is by no means the essence or the constitutive aspect of SSG. It just appeared to be a trivial feature to support html in a clean way.
The issue is that in Markdown, indentation means a code block, which makes it impossible to structure HTML files in a way that is readable. Or to embed e.g. API docs generated by another tool like is done here SimplePie 1.3 API Documentation (currently trying to convert the site to SSG).