Warin / SublimeTidyHTML

Cleanup you html files with SublimeTidyHTML. Parse your files with W3C's tidy-html5 locally. No php required nor webservice call.
20 stars 4 forks source link

OSX: Installation of tidy-html5 #1

Closed Warin closed 11 years ago

Warin commented 11 years ago

Tested on Snow Leopard:

$ cd ~/opt $ curl -L -o tidy.zip https://github.com/w3c/tidy-html5/archive/master.zip && unzip tidy.zip $ cd tidy-html5-master/ $ /bin/sh build/gnuauto/setup.sh $ sudo ./configure -prefix=/usr $ sudo make $ sudo make install

$ tidy -v should return something like HTML Tidy for HTML5 (experimental) for Mac OS X https://github.com/w3c/tidy-html5/tree/c63cc39

Warin commented 11 years ago

dont forget to cleanup the folder afterwards cd .. rm -R tidy-html5-master rm tidy.zip

jsplaine commented 11 years ago

How'd you get around: 'You need libtoolize to continue'