Notepad++ HTML Tidy

前端 未结 9 804
北荒
北荒 2020-12-08 18:36

Is HTML Tidy for Notepad++ broken? None of the commands except Tidy (the first one) work. They don\'t show any message, even with all text selected. I really need Tidy to wo

9条回答
  •  温柔的废话
    2020-12-08 19:24

    All of the menu options except the first one rewrite the HTMLTIDY.CFG file, which specifies the formatting rules that HTML Tidy uses. If HTMLTIDY.CFG does not exist, these menu options may not work.

    Create a text file and type a simple instruction like:

    text-spaces: 2

    Save the file as htmltidy.cfg in %ProgramFiles%\Notepad++\plugins\Config\tidy. Restart Notepad++ and all of the options should work.

提交回复
热议问题