How to add an emoji in Markdown?

Published on Aug. 22, 2023, 12:17 p.m.

To add an emoji in Markdown, you can use emoji shortcodes or copy and paste the emoji into your Markdown-formatted text. Here’s how:

  1. Using emoji shortcodes:
    To use an emoji shortcode, simply put a colon ‘:’ around the name of the emoji. For example, to add a smiley face in your Markdown, type :smiley:. Markdown will automatically convert this to an emoji image when rendered. Here’s an example:
I am feeling :smiley: today!

This will result in the following output: “I am feeling ???? today!”

  1. Copy and paste:
    If you have an emoji that you want to add to your Markdown file, you can simply copy and paste it into your text. For example:
I am feeling ???? today!

This will result in the following output: “I am feeling ???? today!”

Note that depending on the platform you’re using, the exact method for adding emojis may vary. Additionally, some platforms may not support emoji shortcodes, so copy and paste may be the only option.

Tags: