After https://digitalcora.net released https://github.com/digitalcora/sublime-text-gleam we can now instruct bat https://github.com/sharkdp/bat to display #gleam https://gleam.run syntax:
brew install bat
mkdir -p "$(bat --config-dir)/syntaxes"
cd "$(bat --config-dir)/syntaxes"
git clone https://github.com/digitalcora/sublime-text-gleam
bat cache --build
then just run something like bat string.gleam:
