Add shorthand emoji support by default

* Add enableEmoji option in example config.toml
* Update the demo content
* Closes #7
This commit is contained in:
Track3 2018-12-01 13:24:28 +08:00
parent 52d0c69421
commit 50fe5d1045
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ pygmentsUseClasses = true
hasCJKLanguage = true # If there're Chinese/Japanese/Korean Languages in the content, enable this.
rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/
# googleAnalytics = "UA-123-45"
# disqusShortname = "yourdiscussshortname"

View file

@ -16,7 +16,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
Inline styles
**strong**, *emphasis*, ***strong and emphasis***,`code`, <u>underline</u>, ~~strikethrough~~, :haha:, $\LaTeX$, X^2^, H~2~O, ==highlight==, [Link](https://example.com), and image:
**strong**, *emphasis*, ***strong and emphasis***,`code`, <u>underline</u>, ~~strikethrough~~, :joy:🤣, $\LaTeX$, X^2^, H~2~O, ==highlight==, [Link](https://example.com), and image:
![img](https://picsum.photos/600/400/?random)