We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
尝试 http://prettydiff.com/?m=beautify
看看是否能得到你想要的。如果您特别需要处理没有结束对的 HTML 标记,例如
,请将&html
属性添加到上面的地址。它应该按照规定的要求完成您需要的一切。Try http://prettydiff.com/?m=beautify
See if that gets what you want. If you specifically need to address HTML tags that do not have a closing pair, such as
<br>
, then add the&html
attribute to the address above. It should do everything you need as per the stated requirements.这并不完美,但是:
瞧! vim 的力量。
This isn't perfect, but:
Voila! The power of vim.
如果您使用 Sublime Text,我建议安装一个名为
HTML-CSS-JS Prettify
的包。您可以从 PackageControl 此处获取该包。
If you use Sublime Text I recommend installing a package called
HTML-CSS-JS Prettify
.You can get the package from PackageControl Here.