Merge branch 'feature/database-compaction' into 'develop'
[akkoma] / docs / config / custom_emoji.md
index 49a451fcc5f05c886060c0de895a4502aab1f042..5ce9865a27ba940e0ff5412c427dd46449f1e5f8 100644 (file)
@@ -18,10 +18,10 @@ foo, /emoji/custom/foo.png
 
 The files should be PNG (APNG is okay with `.png` for `image/png` Content-type) and under 50kb for compatibility with mastodon.
 
-# Emoji tags (groups)
+## Emoji tags (groups)
 
-Default tags are set in `config.exs`.
-```
+Default tags are set in `config.exs`. To set your own tags, copy the structure to your secrets file (`prod.secret.exs` or `dev.secret.exs`) and edit it.
+```elixir
 config :pleroma, :emoji,
   shortcode_globs: ["/emoji/custom/**/*.png"],
   groups: [
@@ -31,7 +31,7 @@ config :pleroma, :emoji,
 ```
 
 Order of the `groups` matters, so to override default tags just put your group on top of the list. E.g:
-```
+```elixir
 config :pleroma, :emoji,
   shortcode_globs: ["/emoji/custom/**/*.png"],
   groups: [