Glow Versions Save

Render markdown on the CLI, with pizzazz! 💅🏻

v1.5.1

1 year ago

What's Changed


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v1.5.0

1 year ago

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

  • a07fdb73f0cffd5ce027341fb2e98a26cc852d54: feat(ui): e to open edit local markdown files in editor (@maaslalani)
  • 071783d9078d9f52ac73f35c1a777d29052ea0af: feat: copy contents of document (#439) (@maaslalani)
  • b36e5ad810b6ef9ee3b32869d2af5d7ce461c2fc: feat: sync glow with git.charm.sh (@aymanbagabas)

Bug fixes

  • d9bf3b8ee89072cdec42af6d938a1bef0393c748: fix: don't close HTTP body (@maaslalani)
  • 5f14914b7e698523145ee4a5031201f394947b0e: fix: editor with args (#364) (@caarlos0)
  • 01d9858f7c77c1b806d1968fbcf4781cb279bdc2: fix: goreleaser workflow (#358) (@caarlos0)
  • 6543979ed18616ee16f71597618bf02c5ef42de9: fix: performance scrolling (@meowgorithm)
  • 19732a63035e316e3079d15030a573e89d7115cf: fix: support hard line breaks (charmbracelet#212) (@WieeRd)
  • e0d667a48c914ef517fdf35d07ae2ab8bdcb7959: fix: use filepath.Dir instead of path.Dir (@Splode)

Others

  • 8138788b0a24428e4950d0f0beb280650a9a896e: Automatically read from stdin if stdin is a pipe (@meowgorithm)
  • db7f49b445e38c4649e098be1b16f195cecd2c0c: Bump Bubbles to v0.14.0, update accordingly, and simplify spinners (@meowgorithm)
  • ff59ead353e358c085e12d5323c9863f9882da10: Extend example how to read from stdin (@nilsvu)
  • dd1593b10dbd0602e7eb1e00774c4da9aa837b23: Keybindings for editing the document from the pager (@jmmoser)

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v1.4.1

3 years ago

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.

The Charm logo

v1.4.0

3 years ago

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.

The Charm logo

v1.3.0

3 years ago

Happy holidays! It was one year ago that Glow v0.1 went live as the very first Charm project. We're proud of how far Glow’s come and looking forward to making it even better in 2021. Enjoy the release!

Highlights

Tabs

This release features a number of UX improvements, most notably your markdowns have been organized into tabs. To move between tabs press the conveniently labeled tab key. Filter has been renamed to find, and its results will also be stored in a tab.

Glow Tabs Demo

Paths in Config

You can now use values like ~, $HOME, and ${HOME} in the Glow config when specifying the path to your custom Glamour stylesheet. Environment variables will be expanded, too. Thanks to @shitchell for the idea @penguwin for the ultra-swift implantation.

Changelog

Fixes

a0fb0e4 Fix a case where file listings could jitter 426f478 Fix panic that could happen when deleting stuff really fast

Added

f1ede23 Add logging for stash/news fetching 03d9316 Also make news stashable from the pager 88806c8 Make news stashable in the file listing 617f098 Handle stash failures fd2a6ec Show stash error details in the error message view

Changes

58df854 When clearing the filter forget which markdowns were stashed in-session dd936ac Adjust "secondary" green color in stash highlight + help 2d10fb8 Adjust news header style 53155f1 Adjust spinner thresholds and timing so stashing feels snappier 4fcf48f Filter against local and stashed files, regardless of the current section 37a9b68 Filter is now called find 8f3c5df Highlight the most recent stash item in green in the stash view e179741 Lighten mid-gray color for dark backgrounds cfba912 Maintain pagination and cursor on a per-section basis 59f8a00 Make "already stashed" status messages more subtle 47b24f6 Move status message next to the logo in the file browser 40a0225 Only show news in news section a67f00a Press tab/shift+tab to switch between local, stash and news 03db9a6 Put filter results in a tab dd9179a Remove "News:" prefix from news items 4febcb4 Render larger help view in the file listing with the ? key 379dc74 Secret keystroke: navigate tabs with shift+h, shift+l c10a84a Sort news by date d21802d Style detailed help view and re-style mini help view

v1.2.1

3 years ago

Changelog

Changes

56a9edd Filter markdowns asynchronously so filtering doesn't block

v1.2.0

3 years ago

New!

The big feature in this release in filtering. Just press / to find your stuff!

Glow filtering demo

Changelog

Added

e985f96 Add fuzzy filtering for stash notes e9d728c Add "hidden" command/config for switching on mouse wheel support 998cbf1 Ignore YAML frontmatter 4782b99 Display news item count in stash view c16a146 Load the whole stash, page by page, automatically 9ce4ec9 Now in Scoop!

Changes

fb5a81f Upgrade to Bubble Tea v0.12.2 and Bubbles v0.7.5

v1.1.0

3 years ago

Changelog

Fixes

477979b Correct placement of stash hint in pager help 7f35996 Don't handle filenames with a colon in it as http(s) url 186d07d Don't show stash/memo info in pager help for news 3b06ccb Fix bug where pager help isn't updated after an in-pager stash d4239a5 Error codes should be in the range of 0 to 125 8b78086 Remove extra line at the bottom of pager help 7ea7cc5 Respect width flag/config setting in the TUI; closes #168

Added

d5446bf Add config file support 4b4fb78 Open the configuration file with $EDITOR via 'glow config' fcf109a Add flag for local files only (aka disable network) in TUI

Changes

0949a66 Update to bubbletea 0.12.0; minimum required changes

v1.0.2

3 years ago

Changelog

9049991 Bump bubbletea dependency for arrow key support on Windows 11d5858 Don't show add memo help in pager for local items d4adf0d Don't use emojis on Windows b9e5d6b Enable Windows, FreeBSD, OpenBSD and Alpine builds 5a6544d Fix typo in README 66a8ac1 Remove duplicate "down/j" from the "?" help 8ed7bb7 Restore ANSI support to non-TUI Glow on Windows 5f9c5b7 Windows support + bump termenv dependency

v1.0.1

3 years ago

Changelog

6a1c227 Disable CGO for goreleaser builds