X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fconfig%2Fcustom_emoji.md;h=5ce9865a27ba940e0ff5412c427dd46449f1e5f8;hb=9da8b287f8a2c1fda2ca05351d5418321510472b;hp=49a451fcc5f05c886060c0de895a4502aab1f042;hpb=9e0567ec5237fc7a2ba37f5291962f3c58fd21f8;p=akkoma diff --git a/docs/config/custom_emoji.md b/docs/config/custom_emoji.md index 49a451fcc..5ce9865a2 100644 --- a/docs/config/custom_emoji.md +++ b/docs/config/custom_emoji.md @@ -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: [