Emojis in Markdown
Emojis are such a huge part of our digital landscape. I use them everywhere from emails, to text messages, to Facebook, to… my blog? Wait, can I use them in my blog? How do I do that?
This was my dilemma of the day. How can it possibly be that I don’t know how to add an emoji to my blog? I have totally taken the ease of emojis in my life for granted.
So, this is a Jekyll blog and I write in markdown. At first I thought there must be some markdown support for emojis. But I couldn’t find a simple way to do this. Turns out I would have to install a Jekyll plugin to make it happen. But by God, I was gonna make it happen.
Turns out it was super easy. Here’s what I did.
Jekyll doesn’t generate a
Gemfile, so you have to add one. In your root directory add
Next, place this code inside your
source 'https://rubygems.org' gem 'jemoji'
I used Jemoji, but there are others you find as well.
Next add this to your
gems: - jemoji
Finished! Stick any emoji you want inside of your markdown file. Here’s an emoji cheat sheet.
For the record, here are some of my favorite emojis and why I love them:
Great for expressing affection without being too intense about it
Necessary for anyone who has driven a scooter in SE Asia
The ultimate sad face
Because we’re all in touch with our inner 5-year-old
How you say thank you after living in Thailand for a while
When you do something badass, which is, like, all the time, amiright?
When you’re super pumped about going out for sushi
When you have love in your heart that only a kitty can convey
Because my partner’s mom has decided this is her signature emoji. And that’s funny.