删除标签
Quickly removes tag, found by “Match Tag Pair” from current caret position, and adjusts indentation.
快速删除标签,并调整缩进。这里的标签是在插入符所在位置由 匹配标签 功能查找的标签。
<textarea class="movie-def">
<body>
<div |class="wrapper">
<h1>Title</h1>
<p>Lorem ipsum dolor sit amet.</p>
<p>Officiis animi consequuntur iure.</p>
<p>Ea asperiores aperiam non necessitatibus?</p>
<p>Expedita iusto cupiditate eum esse.</p>
</div>
</body>
~~~
tooltip: Place caret somewhere “Match Tag Pair” action can find tag definition
wait: 1000
run: emmet.remove_tag ::: “Remove Tag” (Cmd-K)
</textarea>
“Remove Tag” action uses “HTML Matcher” internally so it may work in non-HTML syntaxes too.
这个功能在内部调用 匹配标签 功能,所以非 HTML 语法也可以用。