Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
$ cat ~/Library/Application\ Support/TextMate/Bundles/Ruby\ Haml.tmbundle/Commands/html2haml.tmCommand <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>beforeRunningCommand</key> <string>nop</string> <key>command</key> <string>html2haml -r</string> <key>fallbackInput</key> <string>document</string> <key>input</key> <string>selection</string> <key>name</key> <string>html2haml</string> <key>output</key> <string>replaceSelectedText</string> <key>uuid</key> <string>7585BF11-57F1-49A2-99AF-11A5C519C944</string> </dict> </plist>
This paste will be private.
From the Design Piracy series on my blog: