Repository navigation
Releases
v3.1.0
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 🖼️
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.mdp.s. want more control?
--image-max-rowssets how tall an image can get. The default is 20 rows, and0means no limit.--images=falseturns images off.GLOW_IMAGE_PROTOCOLpicks the protocol yourself:auto,kitty,sixelornone.
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: trueBigger headings
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 🔗
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!
- 225d8f1: feat: hyperlinks (#1015) (@andrinoff)
- f6de0c5: feat: image support (#1028) (@andrinoff)
- 6b365ee: feat: text sizing protocol for headers (#1029) (@andrinoff)
Deps
- e3970c8: chore(deps): bump the all group with 3 updates (#1013) (@dependabot[bot])
Other stuff
- 8b0600f: chore: bump go (#1051) (@andrinoff)
- 7b2431d: chore: fix govuln, ruleguard (#1030) (@andrinoff)
- 2ec0003: ci: sync dependabot config (#1012) (@charmcli)
- 6ede681: v3.1.0 (@andrinoff)
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.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v3.0.0
Glow v3
This quiet release updates Bubble Tea, Lip Gloss, and Bubbles to their glorious v2s. While there are no UX changes, there's a ton great stuff with the Bubble Tea v2 ecosystem, most notably faster, more accurate rendering.
(This upgrade literally let @andrinoff close a ton of issues.)
Also, note that the package name is now charm.land/glow/v3.
xoxo,
Charm 🌝
Changelog
Fixed
- c6c5e03: fix: adaptive document(s) (#998) (@OphirBleicher)
Deps
- add5e7a: chore(deps): bump lipgloss to v2.0.6 (#1011) (@andrinoff)
Other stuff
- 7f75d0e: chore(v3): prepare v3 (#1009) (@andrinoff)
- 1a13810: chore: bump bubbletea to v2 (#1002) (@andrinoff)
- e5cb757: chore: govulncheck bumps (#1004) (@andrinoff)
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.0.0/checksums.txt'
wget 'https://github.com/charmbracelet/glow/releases/download/v3.0.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.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.1.2
Small patch
Hey all! It has been a long time, but we're bringing this small release with two small fixes.
showLineNumbers on config file now works
The title says it all. It wasn't working as expected, but @prithvijj jumped in and implemented a fix. ✨
Improved $PAGER
Our support for the $PAGER env was there, but somewhat limited. It could break on certain scenarios, like if you needed to use spaces in arguments (with quotes), etc. We're now using a proper shell syntax parser to accurately parse the program and arguments there. Thank you @mvanhorn for working on this!
Changelog
Fixed
- bcd1296: fix: allow config file to load
showLineNumbers(#653) (@prithvijj) - fac0fb4: fix: use
shell.Fieldsto parse$PAGERcommand (#922) (@mvanhorn)
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/v2.1.2/checksums.txt'
wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.2/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.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.1.1
Changelog
Bug fixes
- 41d70ee: fix(lint): fix all linting issues (@andreynering)
- 05872a5: fix(watch): watch for dir instead of file to work on all scenarios (#734) (@Ktrod)
- ee27edd: fix: handle case when selected md is nil (@MarkusBillharz)
- e23f237: fix: only show edit if documents are available (@MarkusBillharz)
- 76e08e7: fix: sync viewport on half page up/down to prevent duplicate strings in render (#756) (@Ktrod)
- d2e04ad: fix: tui mode handling of remote urls (#744) (@glwbr)
- 0a6732f: fix: update
.golangci.ymlfor v2 (@andreynering)
Others
- 2c0e4d8: chore(deps): bump github.com/charmbracelet/bubbles from 0.20.0 to 0.21.0 (#746) (@dependabot[bot])
- 7dc4b9c: chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.3 to 1.3.4 (#711) (@dependabot[bot])
- 366e9a0: chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.4 to 1.3.5 (#758) (@dependabot[bot])
- 411cdb1: chore(deps): bump github.com/charmbracelet/glamour from 0.8.0 to 0.9.0 (#721) (@dependabot[bot])
- d54666d: chore(deps): bump github.com/charmbracelet/glamour from 0.9.0 to 0.9.1 (#727) (@dependabot[bot])
- bb9fcb4: chore(deps): bump github.com/charmbracelet/glamour from 0.9.1 to 0.10.0 (#753) (@dependabot[bot])
- 6558aaa: chore(deps): bump github.com/charmbracelet/log from 0.4.0 to 0.4.1 (#724) (@dependabot[bot])
- e83c6ed: chore(deps): bump github.com/charmbracelet/log from 0.4.1 to 0.4.2 (#769) (@dependabot[bot])
- c84a03b: chore(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 (#741) (@dependabot[bot])
- 85668a6: chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 (#722) (@dependabot[bot])
- 50a763e: chore(deps): bump github.com/spf13/viper from 1.20.0 to 1.20.1 (#731) (@dependabot[bot])
- 2da054e: chore(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 (#707) (@dependabot[bot])
- ef85822: chore(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#764) (@dependabot[bot])
- eeb0fdd: chore(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 (#714) (@dependabot[bot])
- e8049d7: chore(deps): bump golang.org/x/term from 0.30.0 to 0.31.0 (#739) (@dependabot[bot])
- 5b2dfdd: chore(deps): bump golang.org/x/term from 0.31.0 to 0.32.0 (#762) (@dependabot[bot])
- 6520105: chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#715) (@dependabot[bot])
- 470fa3d: chore(deps): bump golang.org/x/text from 0.23.0 to 0.24.0 (#742) (@dependabot[bot])
- 0880dea: chore(deps): bump golang.org/x/text from 0.24.0 to 0.25.0 (#763) (@dependabot[bot])
- 6cd480d: chore(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.1 (#720) (@dependabot[bot])
- 0b668e1: chore(deps): bump golangci/golangci-lint-action from 6.5.1 to 6.5.2 (#726) (@dependabot[bot])
- 4d59a97: chore(deps): bump golangci/golangci-lint-action from 6.5.2 to 7.0.0 (#730) (@dependabot[bot])
- cdeceb9: chore(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#759) (@dependabot[bot])
- 6303d0b: chore(deps): update
golang.org/x/netwith security fixes (#749) (@andreynering) - d37e988: chore(deps): update x/net (@caarlos0)
- 23f9873: chore: add
.editorconfig(@andreynering) - c48ee3d: chore: add a taskfile (@andreynering)
- 81c64fd: chore: delete makefile (@andreynering)
- 230dbc7: ci: add
lint-syncworkflow (@andreynering) - f88a901: ci: fix goreleaser config (@caarlos0)
- e60e83c: ci: sync dependabot config (#755) (@charmcli)
Verifying the artifacts
First, download the checksums.txt file, for example, with wget:
wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.1/checksums.txt'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' \
--cert 'https://github.com/charmbracelet/glow/releases/download/v2.1.1/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/glow/releases/download/v2.1.1/checksums.txt.sig' \
./checksums.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v2.1.0
Watch and Learn
At last: Glow will watch your markdown files and reload ’em as they change. No knobs and no settings: it just works.
Also, there is a new flag available to open files with the built-in pager:
glow --tui README.md🤗 Special thanks to @andreynering on the Charm team for implementing both these features and crushin’ a bunch of bugs!
Changelog
New Features
- e03817b: feat: add new
--tui/-tflag (#679) (@andreynering) - f1b5651: feat: make --all configurable globally (#651) (@skatkov)
- f255f3a: feat: support GLAMOUR_STYLE for custom pager styles (#587) (@bashbunni)
- 05e5b2e: feat: watch for file changes and reload automatically (@andreynering)
Bug fixes
- f689c90: fix: correct abs to rel path conversion (#683) (@Shane-XB-Qian)
- 3989fe0: fix: ensure
rkey works when filtering files (#648) (@NijeboerFrank) - e44e468: fix: fallback to the current directory if no argument was given (@andreynering)
- 2671509: fix: make
allsettingfalseby default (@andreynering) - 9dd8a6f: fix: make pipeline for tui work (@Shane-XB-Qian)
- ae57cce: fix: remove more stash-related stuff (#656) (@caarlos0)
- 009c376: fix: restore hint for
e/editon the footer (#678) (@andreynering)
Other Stuff
- 8e36364: chore: add missing line end to
.gitignore(@andreynering) - 7fbc040: refactor: rename a var (@andreynering)
Verifying the artifacts
First, download the checksums.txt file, for example, with wget:
wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.0/checksums.txt'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' \
--cert 'https://github.com/charmbracelet/glow/releases/download/v2.1.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/glow/releases/download/v2.1.0/checksums.txt.sig' \
./checksums.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v2.0.0
Hello v2!
This release contains a massive amount of bug fixes and rendering improvements, many of which come by way of Glamour v0.8.0 which was released a few weeks ago.
As a bonus, the latest version of Glamour includes support for Tokyo Night.
glow -s "tokyo-night"Additionally, the stash feature has been removed.
Changelog
New!
- d89d79a: feat: --preserve-new-lines (#623) (@caarlos0)
- b1d3772: feat: add 'r' to refresh list and document (#624) (@caarlos0)
- 96d2a38: feat: allow --width=0 to disable wordwrap (#366) (@applejag)
- fe066f2: feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME (#621) (@caarlos0)
- 9ebe39c: feat: improve gitlab/github readme url (#456) (@caarlos0)
- f1cf0ba: feat: man pages (@caarlos0)
- 597e56b: feat: open editor in current line (@caarlos0)
- d7032fe: feat: shell completions (@caarlos0)
- 2d5bd3b: feat: show line numbers configuration option (@caarlos0)
- 0dcf127: feat: suspend (@caarlos0)
- c991ec4: feat: use x/editor (#543) (@caarlos0)
Fixed!
- 9c79fa1: fix(ci): remove soft-serve workflow (@aymanbagabas)
- bccf3d0: fix(ci): update coverage workflow (@aymanbagabas)
- 08c564c: fix: --all bypass .gitignore rules (#285) (#504) (@aitva)
- 8e51396: fix: check other possible readme paths/branches (#450) (@caarlos0)
- 1133e50: fix: config failing in tests (#625) (@caarlos0)
- 2288311: fix: do not hard fail if no config (@caarlos0)
- 821d51d: fix: do not show absolute path as note (@caarlos0)
- 247c707: fix: glow URL (@caarlos0)
- a1a8563: fix: handle not being able to create log file (@caarlos0)
- b80e831: fix: handle permission denied (@caarlos0)
- 54dd62a: fix: handle running inside a snap (#527) (@caarlos0)
- ad01f38: fix: improve line no (@caarlos0)
- f44e5b5: fix: improve message (@caarlos0)
- 7e471f1: fix: lint issue (@caarlos0)
- e4cacf7: fix: mkdir cache dir (@caarlos0)
- 1407793: fix: pass color profile down to glamour (#626) (@caarlos0)
- 9a3f7a1: fix: replace string concatenation in loop with string builder (#505) (@appgurueu)
- cd99146: fix: update codeowners (#637) (@caarlos0)
- 3f9102d: fix: yet another log handling fix (@caarlos0)
Deps
Other Stuff
- d2e7742: chore(ci): enable gofumpt (@aymanbagabas)
- 736e77d: feat!: rename module to /v2 (#640) (@caarlos0)
Verifying the artifacts
First, download the checksums.txt file, for example, with wget:
wget 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt'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' \
--cert 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt.sig' \
./checksums.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.5.1
What's Changed
- fix: rm emoji from package description by @caarlos0 in #453
- fix: improve editor handling by @caarlos0 in #449
- fix: do not use deprecated func by @caarlos0 in #451
- docs: fix typos by @kianmeng in #471
- chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #478
- fix: lazily init UI by @muesli in #494
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.5.0
Your Terminal Notebook 📒
Use glow as your terminal markdown notebook! This release contains several
quality of life improvements such as copying file contents and editing local
files.
Highlights
Copy File Contents
Press c to copy a file's contents to your clipboard to paste anywhere you'd like!
Edit Markdowns
Edit a file by pressing e with your preferred $EDITOR (defaults to nano) and reloads the file with the updated changes on save!
Hard line break support
When running glow README.md, glow will preserve line breaks to resemble the markdown file more closely.
New Features
- a07fdb7: feat(ui):
eto open edit local markdown files in editor (@maaslalani) - 071783d: feat: copy contents of document (#439) (@maaslalani)
- b36e5ad: feat: sync glow with git.charm.sh (@aymanbagabas)
Bug fixes
- d9bf3b8: fix: don't close HTTP body (@maaslalani)
- 5f14914: fix: editor with args (#364) (@caarlos0)
- 01d9858: fix: goreleaser workflow (#358) (@caarlos0)
- 6543979: fix: performance scrolling (@meowgorithm)
- 19732a6: fix: support hard line breaks (#212) (@WieeRd)
- e0d667a: fix: use filepath.Dir instead of path.Dir (@Splode)
Others
- 8138788: Automatically read from stdin if stdin is a pipe (@meowgorithm)
- db7f49b: Bump Bubbles to v0.14.0, update accordingly, and simplify spinners (@meowgorithm)
- ff59ead: Extend example how to read from stdin (@nilsvu)
- dd1593b: Keybindings for editing the document from the pager (@jmmoser)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.4.1
This bugfix release prevents a data race and improves compatibility with rxvt-based terminals.
Fixes
4863f57 Bump bubbletea, glamour, and go-runewidth deps
92b8607 Bump termenv to v0.8.1
Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.
v1.4.0
Fixes
e1d8162 Add missing newline in pager
e9aa607 Fix tab contrast in light mode, particularly in macOS terminal
cfb746e Pass through all keys when editing filter
3a57221 Update pagination after changing sections when resetting the filter
Added
3285903 Enable/Disable pager from config (#242)
Changes
8d0ebb7 If the only argument is a directory open a TUI at that path (see #234)
2088bac Make TUI find markdowns with a variety of file extensions
Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.




