Atom Packages Directory

a package directory for a text editor of the 21st Century

Formatter Tidy

Install with:
    apm install formatter-tidy

formatter-tidy package

Formatter for HTML, XML.

This Formatter plugin for Formatter provides an interface to tidy(-html5).


  1. Install tidy or tidy-html5 (ex: on OSX with brew -> brew install tidy-html5)

  2. Install Formatter package via Atom

    • or with apm install formatter
  3. Install formatter-tidy package via Atom

    • or with apm install formatter-tidy



Tidy is primarily a validator and not a HTML/XML formatter.

In your source compatible file

Default (inspired from IntelliJ):

cson 'atom-text-editor': 'alt-ctrl-l': 'formatter:format-code' 'alt-cmd-l': 'formatter:format-code'

List of config



  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D



Keywords: format, formatter, html, xml Suggest keywords
Fork me on GitHub