Why fmt doesn't work in template?
import std/strformat
template button*(size = "w-5 h-5") =
echo fmt"{size}"
template layout*() =
button()
layout()
Error
play.nim(11, 7) template/generic instantiation of `layout` from here
play.nim(6, 11) template/generic instantiation of `fmt` from here
std/macros(549, 1) Error: undeclared identifier: 'size'