Permalinking SquareSpace with TextExpander

I get a lot of requests about how I put permalinks at the bottom of link posts. People think I've done this with some clever bit of web programming but the answer is really just a TextExpander snippet.

Here is the snippet text:

[∞](http://www.macsparky.com/blog/%clipboard)

You'll have to replace the "macsparky" bit with your own domain. The trick is to grab the name of a pending post and put it in your clipboard. You do this in the Options tab for a new SquareSpace post.

Screen Shot 2013-03-15 at 4.10.13 PM.png

As you can see I've highlighted the blog post name and the copied it (⌘+C). Then I flip back to my post text and put the cursor at the bottom and fire off the above snippet. (I uses "pperma" for my shortcut.)

That produces the following markdown.

[∞](http://www.macsparky.com/blog/permalinkingss)

This shows up as a permalink.