Package Version Hex Docs


A Gleam port of Dahlia — a simple text formatting package, inspired by the game Minecraft.

  |> dahlia.print("&aHello World")


If available on Hex this package can be added to your Gleam project:

gleam add dahlia

and its documentation can be found at

Color Codes

You can find a list of color codes on the minecraft wiki.

&nChange the color to n
&~nChange the background color to n
&[#HEXNUM]Change the color to #HEXNUM
&~[#HEXNUM]Change the background color to #HEXNUM
\\&Display an &
Search Document