I feel like I’ve coded something that already exists – I just couldn’t find it.
Also, if copying the code directly from this post, it may be incorrectly unescaping a few characters. I recommend using the download.
Bugs or Suggestions?
Let me know in the comments, or catch me on twitter (@trepmal).