Looking for an HTML preprocessor

I will be honest, I assumed this would be super easy to find, but alas it is not. What I am effectively looking for is an HTML preprocessor to take something that is less verbose than HTML and give me HTML, because writing HTML by hand is a pain. I don’t want dynamic pages (so I am not interested in variables or for loops or any of that stuff), and I don’t want to need to spin up a whole JavaScript script just to compile some static pages (looking at you Pug).

Is there any tool where I can have
foo.ext
and just do
compile foo.ext >foo.html
?
Was this page helpful?