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 - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
outputs: outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects] home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
markup:
defaultMarkdownHandler: goldmark
goldmark: {renderer: {unsafe: true}}
highlight: {codeFences: false}
tableOfContents: {startLevel: 2, endLevel: 3}
disableAliases: true disableAliases: true
taxonomies: [] taxonomies: []
params: params:

View file

@ -26,6 +26,7 @@ Built upon the open source [Netlify CMS](https://www.netlifycms.org/) and [Netli
- wowchemycms_config - wowchemycms_config
- HTML - HTML
--- ---
``` ```
3. (Optional) If your Git repository's branch is **not** `main`, define it in `config/_default/params.toml`: 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; margin-right: 0.5rem;
} }
.emoji-list ul {
list-style-type: none;
}
/* Navigation bar text */ /* Navigation bar text */
.navbar-light { .navbar-light {
font-family: $sta-font-nav, sans-serif; font-family: $sta-font-nav, sans-serif;

View file

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