Skip to content

Emoji

πŸš€ Rocket is an excellent free Mac app that makes emoji input easy. It's possible to insert emoji natively on macOS but it's kind of a pain:

  • Cmd + Ctrl + Space
  • Search for the emoji
  • Tab to it and press Enter or click it

With the πŸš€ Rocket app, just:

  • type :rock and press Enter

LOL -- it does make vim annoying to use.

Can I use emoji there?

  • JQplay (and jq)
    • YES!

      jq ➑️play is a playground for jq 1.6 jq is a lightweight and flexible command-line JSON processor.

Given this JSON:

{
  "🌻": [
    {
      "πŸͺ": [
        {
          "🌻": "🌈"
        }
      ],
      "🌞": [
        {
          "🌻": "🌈"
        }
      ],
      "πŸ‘©β€βœˆοΈ": [
        {
          "🌻": "🌈"
        }
      ]
    }
  ]
}

I can use a command like jq '."🌻"[0] | .["πŸͺ"]' for this result:

[
  {
    "🌻": "🌈"
  }
]

πŸš€ Give it a go!

Others have written about it:

Mermaid is a JavaScript-based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams.

Mermaid is amazing and supports emoji. It's particular, though.

The fix that is πŸ’– loved doesn't work in the version of the editor available at mermaid.live -- four years later. But this approach from 2019 works at mermaid.live and in GitLab Flavored Markdown. :

graph TD
A["πŸ¦„"]---B["🌞"]
A-->C("πŸ₯°")
B-->D
C-->D("🐱")
D-->E{"🌈"}

Here's how that gets rendered:

Here's how that gets rendered.

πŸ† Great Emoji in Code

πŸ†• A new section.

https://github.com/eoin-barr/weatherme/blob/master/cmd/root.go