Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(minimessage): Pride tag #170

Merged
merged 3 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .config/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ integrations
formatter
resolvers
unclosed
nb
agender
demisexual
genderqueer
genderfluid
aro
philly
bigender
demigender
13 changes: 13 additions & 0 deletions source/minimessage/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,16 @@ Arguments:
* ``interpret``, the literal text ``interpret`` if the result should be parsed as component JSON
Examples
* :mm:`Your health is <nbt:entity:'@s':Health/>`

Pride
*****

*(since v4.18.0)* Colors the text inside the tags with a gradient corresponding to a pride flag.

Tag
:mm:`<pride[:flag]>`
Arguments
* ``flag`` the flag to use, may be one of pride, progress, trans, bi, pan, nb, lesbian, ace, agender, demisexual, genderqueer, genderfluid, intersex, aro, baker, philly, queer, gay, bigender or demigender.
Examples
* :mm:`Happy <pride>pride month</pride>!`
* :mm:`Kyori supports <pride:trans>trans rights</pride>!`
Loading