Hugo How to use emoticons in Markdown
Introduction
Sometime a small emoticon brings a bit of fun. So far I haven’t used them in my blogs but it is time to try!
Hugo ressources
Hugo shows it is supporting emoticons in markdown : Hugo Emoticons
It seems simple, and it is simple to enable.
But …
There is something that really needs attention : editing the config.toml
file.
Editing config.toml
There is just a simple line to add in the toml
file :
|
|
But where in the file ?
The answer is simple, at the top.
My mistake was that I added it in the markup
section, and it wasnt working.
|
|
Emoticons
Now 😄 the emoticons are showing.
By using smile
code between 2 :
, 😄 will show.
List of Emoticons with their codes can be found at Emoticon CheatList 🥶 🍀
Conclusion
So simple !
I ❤️ Hugo !