Inside-out templates
I have been thinking about literate programming and markup languages for authoring documents. How can we write a document once and easily publish it in different formats? Markdown is user-friendly but bare-bones. XML does what we want but no one wants to write XML. I was reminded of Pollen. It promises to do what I want. Plus it’s a cool Lisp thing. But Lisp isn’t everyone’s thing. Then I had a flash of inspiration: what if we could abuse some Go templates?
Honza Pokorný