# snippet `<[a-z]+[0-9]*` "HTML tag expand" r # <`!p snip.rv = match.group()[1:]`>$0 # endsnippet snippet html "html template" w endsnippet snippet `<(.+)` "tag" rw `!p snip.rv = "<{0}>".format(match.group(1))`$1`!p snip.rv = "".format(match.group(1))` endsnippet snippet img "img tag" w endsnippet snippet '(h[0-9])' "h tag" rw `!p snip.rv = "<{0}>".format(match.group(1)) ` endsnippet snippet bigcode "bigcode block" w

$0
endsnippet snippet tag "html safe tag" w <$1>$0</$1> endsnippet