用于将 html 标记添加到所选文本的 Atom 组合键

Atom key combination to add an html tag to a selected text

我看到可以使用 atom 编辑器(安装了 emmet 插件)首先 select 你的 html 代码(例如一段),然后你可以写一个标签 html 喜欢 <label> 和原子编辑将 selected 段落放在标签内:<label>some selected text</label> in one step

我想知道键序列是什么,或者在我 select 编写一个包含 selected 的标签 HTML 的文本后我应该在 Atom 中做什么文本。

Emmet有“Wrap with Abbreviation”的功能,Atom在Mac的快捷键是ctrl + w(可以勾选"Atom -> Preference -> Install -> emmet -> Keybindins -> emmet:wrap-with-abbreviation")

还有一个解决办法——安装插件“Atom wrap in tag