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 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
这里有一些
[编辑]:还发现this 脚本,它是 html 美化器的基础。
Here's a few
[EDIT]: also found this script, it's what the html beautifier is based on.
HTML tidy 是迄今为止最好的解决方案。经典二进制文件已移植到 javascript:如何格式化/tidy/用 JavaScript 进行美化
HTML tidy is by far the best solution. Classic binary has been ported to javascript: How to format/tidy/beautify in JavaScript