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
/-t
flag (#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
r
key works when filtering files (#648) (@NijeboerFrank) - e44e468: fix: fallback to the current directory if no argument was given (@andreynering)
- 2671509: fix: make
all
settingfalse
by 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
/edit
on 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.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!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.