Detect and remove extraneous leading whitespace from multiline strings
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo-ui
example
README.md
article.txt
demo.php
demo.static.html
outdent.js

README.md

outdent.js

Detect and remove extraneous leading whitespace from multiline strings. Only tested in latest Firefox, Safari and Chrome (August 2014). Fair warning: this is experimental, and might have subpar performance.

See this article for basic documentation and this interactive demo.