Improve config examples for EmojiPolicy
This commit is contained in:
parent
18a8378beb
commit
20d193c91d
|
@ -231,7 +231,7 @@ def config_description do
|
||||||
|
|
||||||
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
||||||
""",
|
""",
|
||||||
suggestions: ["foo", ~r/foo/iu]
|
suggestions: ["https://example.org/foo.png", ~r/example.org\/foo/iu]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :remove_shortcode,
|
key: :remove_shortcode,
|
||||||
|
@ -251,7 +251,7 @@ def config_description do
|
||||||
|
|
||||||
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
Each pattern can be a string or [Regex](https://hexdocs.pm/elixir/Regex.html) in the format of `~r/PATTERN/`.
|
||||||
""",
|
""",
|
||||||
suggestions: ["foo", ~r/foo/iu]
|
suggestions: ["https://example.org/foo.png", ~r/example.org\/foo/iu]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :federated_timeline_removal_shortcode,
|
key: :federated_timeline_removal_shortcode,
|
||||||
|
|
Loading…
Reference in New Issue