github charmbracelet/glow v3.1.0

44 minutes ago

Prettier links and images!

Your Markdown just got a lot prettier! Glow now shows images right in the terminal, makes headings actually big, and turns links into clean, clickable text.

Images 🖼️

image

Images now render inline, both when printing to the terminal and in the TUI. Glow detects whether your terminal supports the Kitty graphics protocol or Sixel, so in terminals like Kitty, Ghostty or WezTerm images just show up. No setup needed.

glow README.md

p.s. want more control?

  • --image-max-rows sets how tall an image can get. The default is 20 rows, and 0 means no limit.
  • --images=false turns images off.
  • GLOW_IMAGE_PROTOCOL picks the protocol yourself: auto, kitty, sixel or none.

Remote images stay off

Fetching an image from the web shares your IP with whoever hosts it, much like a tracking pixel. So Glow only loads local images by default. Remote ones show as a link with a short note instead. Turn them on in your config:

loadRemoteImages: true

Bigger headings

image

In Kitty, headings are now actually bigger: three times the size for #, twice for ##, and one and a half for ###. Glow checks whether your terminal supports this, and you can force it with GLOW_TEXT_SIZING=on or off.

Prettier links 🔗

image

In terminals that support hyperlinks, links show as underlined text you can click. The long URL is removed. Other terminals keep showing the URL next to the link text, just like before.

Built on the new Glamour v2.1.0.


Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

Changelog

New!

Deps

Other stuff


Verifying the artifacts

First, download the checksums.txt file and the checksums.txt.sigstore.json file files, for example, with wget:

wget 'https://github.com/charmbracelet/glow/releases/download/v3.1.0/checksums.txt'
wget 'https://github.com/charmbracelet/glow/releases/download/v3.1.0/checksums.txt.sigstore.json'

Then, verify it using cosign:

cosign verify-blob \
  --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --bundle 'checksums.txt.sigstore.json' \
  ./checksums.txt

If the output is Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum:

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

Don't miss a new glow release

NewReleases is sending notifications on new releases.