Skip to content

Instantly share code, notes, and snippets.

@priore
Created January 18, 2014 20:49
Show Gist options
  • Save priore/8496203 to your computer and use it in GitHub Desktop.
Save priore/8496203 to your computer and use it in GitHub Desktop.
XML formatter for TextWrangler
# put script in ~/Library/Application Support/TextWrangler/Text Filters/Tidy XML.py
#!/bin/sh
XMLLINT_INDENT=$'\t' xmllint --format --encode utf-8 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment