Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
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: 8 additions & 1 deletion source/minimessage/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,19 +257,26 @@
Rainbow-colored text?!

Tag
:mm:`<rainbow:[!][phase]>`
:mm:`<rainbow:[!][phase]:[saturation]>`
Arguments
* phase, optional
* ``!``, literal value which reverses the rainbow, optional
* saturation, optional
Examples
* :mm:`<yellow>Woo: <rainbow>||||||||||||||||||||||||</rainbow>!`
* :mm:`<yellow>Woo: <rainbow:!>||||||||||||||||||||||||</rainbow>!`
* :mm:`<yellow>Woo: <rainbow:2>||||||||||||||||||||||||</rainbow>!`
* :mm:`<yellow>Woo: <rainbow:!2>||||||||||||||||||||||||</rainbow>!`

.. image:: /minimessage/images/rainbow_1.png

Check failure on line 271 in source/minimessage/format.rst

View workflow job for this annotation

GitHub Actions / build / build-docs

Error in "image" directive:
:alt: The result of parsing all four examples in series, shown in-game in the Minecraft client's chat window

* :mm:`<yellow>Woo: <rainbow:0:0.65>||||||||||||||||||||||||</rainbow>!`
* :mm:`<yellow>Woo: <rainbow::0.65>||||||||||||||||||||||||</rainbow>!`

.. image:: /minimessage/images/rainbow_2.png
:alt: The result of parsing two examples with lower saturation, shown in-game in the Minecraft client's chat window

Gradient
********

Expand Down
Binary file added source/minimessage/images/rainbow_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading