I haven't seen it used outside of Rails apps, but have you ever tried Slim? I understand there's a similar tool for Node.js called Jade.
table
tr
th Col1 Header!
th Col2 Header!
tr
td Col1 Value...
td Col2 Value...
Renders to HTML.