June 29, 2012

Command line tools on Linux to beautify CSS ,Javascript, and PHP

For CSS, I use "csstidy", the C++ version. I added CSS 3.0 support to it and also added a default "indented" template. You can get the latest version at:
    https://bitbucket.org/tiebingzhang/csstidy

For Javascript, I use the command line version of jsbeautifier, which can be downloaded at
http://github.com/einars/js-beautify/zipball/master

For PHP, I use an enhanced version of phptidy:
https://bitbucket.org/tiebingzhang/phptidy

3 comments:

  1. i'm not a developer, i use this free online javescript beautifier to format js.

    ReplyDelete
  2. I’m used to `git clone`-ing everything from github. Mind adding a short instruction of how to clone this to `/opt` from bitbucket?

    ReplyDelete
  3. Pleasant to peruse your article! I am anticipating sharing your enterprises and encounters.
    css beautifier

    ReplyDelete