タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

tidyに関するhigeorangeのブックマーク (2)

  • 鳥獣保護区 | Vim で HTML の文法チェック

    Vim tips をつらつら見てたら、HTML Tidy を使った文法チェックの方法が載ってました。 先ずは Tidy を Fink なり上記サイトに用意されているバイナリなりでインストールしておきます。チェックしたいファイルを Vim で開いて、 :compiler tidy :make これで下部にエラーが表示されます またコマンドに下記のように入力すると、直接エラーを修正してしてくれたりもします。 :!tidy -iq -raw -m % コマンドを入力するのが手間な人は、~/.vim/ftplugin/html.vim をいうファイルを作って下記のように書いとくといいかも。 compiler tidy nmap <buffer> <LocalLeader>mod :!tidy -iq -raw -m %<CR> 今までは Firefox 上で Html Validator を使って

    higeorange
    higeorange 2006/09/22
    [xhtml/html]
  • Tidy

    Tidy is a console application for macOS, Linux, Windows, UNIX, and more. It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards. libtidy is a C static and dynamic library that developers can integrate into their applications in order to bring all of Tidy’s power to your favorite tools. libtidy is used today in desktop applications, we

    higeorange
    higeorange 2006/09/22
    [xhtml/html]
  • 1