Search code examples
emojidocusaurus

How are emojis inserted into a Docusaurus webpage?


I'm building a website with Docusaurus V2.

Does anyone know how the small icons (e.g. correct mark, wrong mark) are inserted in their document.

Additionally, where could we see the Docusaurus files of their website (rather than the built files), so that we could learn?

enter image description here


Solution

  • Emojis are actually unicode. Two ways to "type" emojis:

    • Activate your emoji keyboard and start typing them. This is OS-specific and you can google for the instructions
    • Go to an emoji website such as getemoji.com and copy/paste them