Format HTML document [closed]

一笑奈何 提交于 2019-12-03 08:52:17

问题


I like the feature in Visual Studio for formatting an HTML document (CTRL+K, CTRL+D).

Is there a plugin with the same functionality in any other (free) editors, e.g. Notepad++?


回答1:


If you mean colorizing and formatting from "Format", Notpad++ has HTML tidying feature via Tidy2 plugin. Install the plugin with the Plugin Manager, and a new menu Tidy2 item will appears under the Plugins, and from there you can formatting HTML.

Also Netbeans IDE has formatting(ALT+F) feature for many languages (including PHP, HTML, CSS and JS).



来源:https://stackoverflow.com/questions/1820811/format-html-document

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!