Markdown Footnotes in Keyboard Maestro

I use Squarespace 5 to host technologynotes.net and, despite some asking around and trying different stuff, seems that SS5 doesn’t support multimarkdown.

Since I’ve always wanted to add footnotes to my posts I decided to take it upon myself to hack something together in Keyboard Maestro. The goal was to create a macro that would allow me to easily and quickly create footnotes in my posts as well as provide the code to give the reverse link at the bottom of the page.[1]

Before I post the screenshot of the macro, I should preface with a little explanation of how it works.

  1. Position your cursor where you want the superscripted number to appear.

  2. Trigger your hotkey and you will be prompted with an input box asking you for a number. This is obviously the number of the given footnote. If you have a lot of footnotes, that might be slightly problematic but as I’ll only be adding one or two, I figured it wouldn’t be a issue.

  3. Entering the number will generate the code for the superscript containing the number entered with a link to a reference. This process also stores the reference to the reverse-link on your clipboard.

  4. To finish up, go to the bottom of the page. If there isn’t already a horizontal rule, add one.

  5. Paste the text the macro added to your clipboard. The macro will contain a markdown-formatted numbered list item followed by a link back to your reference in the post and some dummy text for you to replace with your actual footnote.

Here’s the macro itself:


  1. It’s pretty easy, it turns out. ↩