Ben Dodson

Freelance iOS, macOS, Apple Watch, and Apple TV Developer

Fixing emoji footnote arrow bug in Jekyll

Want to keep up to date? Sign up to my free newsletter which will give you exclusive updates on all of my projects along with early access to future apps.

I’ve been using Jekyll as my static blog generator for a few years now but noticed a minor annoyance a few days ago; whenever I use footnotes1, the return arrow (↩︎) is converted into an emoji (↩️) on iOS and in some RSS readers. Obviously this isn’t desirable and so after a bit of digging I was able to find a fix.

Firstly, this isn’t an issue with Jekyll but with kramdown which does the Markdown conversion. Thankfully, there is a config option in kramdown 1.8.0 and above2 that lets you specify the text you want to use for the footnote return link and you can set it as unicode to stop it being converted to emoji. Just add the following to your _config.yml file:

kramdown:
  	  footnote_backlink: "↩︎"

Regenerate your site and you should find that the emoji arrow is now back to a ↩︎.

  1. like this one! ↩︎

  2. You may need to run gem update kramdown if you installed Jekyll a while ago. ↩︎

The Divide #6 - The 'JJ Abrams' of game lists » « Dodo Apps

Want to keep up to date? Sign up to my free newsletter which will give you exclusive updates on all of my projects along with early access to future apps.