分割合并标签

This action splits and joins tag definition, e.g. converts from <tag/> to <tag></tag> and vice versa. Very useful for XML/XSL developers.

这个功能分割合并标签,例如将<tag/> 转换为 <tag></tag> ,或逆操作。对于 XML/XSL 开发很有用。

  1. <textarea class="movie-def">
  2. &lt;example&gt;
  3. |Lorem ipsum dolor sit amet
  4. &lt;/example&gt;
  5. ~~~
  6. run: emmet.split_join_tag ::: “Split/Join Tag” (Cmd-J)
  7. wait: 1000
  8. moveTo: 6
  9. wait: 1000
  10. run: emmet.split_join_tag
  11. </textarea>

“Split/Join Tag” action uses “HTML Matcher” internally so it may work in non-HTML syntaxes too.

这个功能在内部调用 匹配标签 功能,所以非 HTML 语法也可以用。