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:
:::bash
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
- e03817b2cb1cb86b454db28aaddd773c2388aea7: feat: add new
--tui
/-t
flag (#679) (@andreynering) - f1b565125fff2ebe99b3c92fb89bd4bc3ab4ced0: feat: make --all configurable globally (#651) (@skatkov)
- f255f3a60317948820a8f08165e422d1074b0126: feat: support GLAMOUR_STYLE for custom pager styles (#587) (@bashbunni)
- 05e5b2e279eb07bc4ce7d041ae0f3113948c4bc7: feat: watch for file changes and reload automatically (@andreynering)
Bug fixes
- f689c90084a025da025a957db91bdc3eb373896a: fix: correct abs to rel path conversion (#683) (@Shane-XB-Qian)
- 3989fe0d5e024fd3ea75c109109bb554b65f9441: fix: ensure
r
key works when filtering files (#648) (@NijeboerFrank) - e44e4684e1421f0aebe4e2db3e9bf93d652e7793: fix: fallback to the current directory if no argument was given (@andreynering)
- 2671509003da4994a4664192fe8f1fc934adf275: fix: make
all
settingfalse
by default (@andreynering) - 9dd8a6f3fd35efd5429700051d5ff670c3bdbe22: fix: make pipeline for tui work (@Shane-XB-Qian)
- ae57cced064f77b4f349078ea1bc8962339a9a10: fix: remove more stash-related stuff (#656) (@caarlos0)
- 009c37602af724f771307006b14da1e001edc323: fix: restore hint for
e
/edit
on the footer (#678) (@andreynering)
Other Stuff
- 8e363644f685455ddd1a6baf901a23481cd5fb09: chore: add missing line end to
.gitignore
(@andreynering) - 7fbc040cc894c0ead8aec492a3e48669485b7905: refactor: rename a var (@andreynering)
Verifying the artifacts
First, download the [`checksums.txt` file](https://github.com/charmbracelet/glow/releases/download/2.1.0/checksums.txt), for example, with `wget`: :::bash wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.0/checksums.txt' Then, verify it using [`cosign`](https://github.com/sigstore/cosign): :::bash 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`: :::bash 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.