Hacker News new | ask | show | jobs
by anthonyshort 4050 days ago
All it does it transform into a tree of objects, https://gist.github.com/anthonyshort/5e9112a9ded7c8fc0f20, which is annoying to write out by hand and HTML is familiar.

I hated it (a lot) before I tried it out. You could just put the render function in a separate file since it's just a function and then it's basically the same as a template anyway