Sergey from Emmet was kind enough to point me in the right direction. The $#
token contains the original content:
a[href="http://$#/"]*>{$#}
By specifying $#
as the href
attribute, the original content is no longer 'wrapped' and must be be reinserted via {$#}
.
http://docs.emmet.io/actions/wrap-with-abbreviation/#controlling-output-position