summary refs log blame commit diff stats
path: root/tests/showoff/thtml1.nim
blob: cd95c7971a0c26e23f978654980eaefe07a49caf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                
discard """
  output: "<br>"
"""

template htmlTag(tag: expr) {.immediate.} =
  proc tag(): string = "<" & astToStr(tag) & ">"
  
htmlTag(br)
htmlTag(html)

echo br()