Skip to content

Instantly share code, notes, and snippets.

@zah
Created March 25, 2014 17:01
Show Gist options
  • Save zah/9766378 to your computer and use it in GitHub Desktop.
Save zah/9766378 to your computer and use it in GitHub Desktop.
const htmlElements = ["a", "div", "head"]
for e in htmlElements:
template (e) (body) =
echo "<" & e & ">"
body
echo "</" & e & ">"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment