syntax highlighting

This commit is contained in:
Alex S 2019-04-02 20:32:37 +07:00
parent 9e0567ec52
commit 3465b7ba9a

View File

@ -21,7 +21,7 @@ The files should be PNG (APNG is okay with `.png` for `image/png` Content-type)
# Emoji tags (groups) # Emoji tags (groups)
Default tags are set in `config.exs`. Default tags are set in `config.exs`.
``` ```elixir
config :pleroma, :emoji, config :pleroma, :emoji,
shortcode_globs: ["/emoji/custom/**/*.png"], shortcode_globs: ["/emoji/custom/**/*.png"],
groups: [ 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: 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, config :pleroma, :emoji,
shortcode_globs: ["/emoji/custom/**/*.png"], shortcode_globs: ["/emoji/custom/**/*.png"],
groups: [ groups: [