feat: add support for emoji lists

With new `emoji_list` shortcode. For example:

```
{{% emoji_list %}}
- 🔥 sdf
  - 🔥 sdf
- 🔥 sdf
{{% /emoji_list %}}
```
This commit is contained in:
George Cushen 2021-02-10 07:55:09 +00:00
commit 211d8b330b
4 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,11 @@ module:
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
markup:
defaultMarkdownHandler: goldmark
goldmark: {renderer: {unsafe: true}}
highlight: {codeFences: false}
tableOfContents: {startLevel: 2, endLevel: 3}
disableAliases: true
taxonomies: []
params:

View file

@ -26,6 +26,7 @@ Built upon the open source [Netlify CMS](https://www.netlifycms.org/) and [Netli
- wowchemycms_config
- HTML
---
```
3. (Optional) If your Git repository's branch is **not** `main`, define it in `config/_default/params.toml`:

View file

@ -117,6 +117,10 @@ ul.task-list li input[type='checkbox'] {
margin-right: 0.5rem;
}
.emoji-list ul {
list-style-type: none;
}
/* Navigation bar text */
.navbar-light {
font-family: $sta-font-nav, sans-serif;

View file

@ -0,0 +1 @@
<div class="emoji-list">{{ .Inner }}</div>