mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-20 23:24:18 +02:00
parent
1a13810c34
commit
7f75d0e529
5 changed files with 8 additions and 10 deletions
|
|
@ -107,7 +107,7 @@ packages. ARM builds are also available for macOS, Linux, FreeBSD and OpenBSD.
|
|||
Or just install it with `go`:
|
||||
|
||||
```bash
|
||||
go install github.com/charmbracelet/glow/v2@latest
|
||||
go install charm.land/glow/v3@latest
|
||||
```
|
||||
|
||||
### Build (requires Go 1.21+)
|
||||
|
|
|
|||
6
go.mod
6
go.mod
|
|
@ -1,8 +1,6 @@
|
|||
module github.com/charmbracelet/glow/v2
|
||||
module charm.land/glow/v3
|
||||
|
||||
go 1.25.12
|
||||
|
||||
toolchain go1.26.5
|
||||
go 1.26.5
|
||||
|
||||
require (
|
||||
charm.land/bubbles/v2 v2.1.1
|
||||
|
|
|
|||
6
main.go
6
main.go
|
|
@ -15,11 +15,11 @@ import (
|
|||
|
||||
"mvdan.cc/sh/v3/shell"
|
||||
|
||||
"github.com/caarlos0/env/v11"
|
||||
"charm.land/glamour/v2"
|
||||
"charm.land/glamour/v2/styles"
|
||||
"github.com/charmbracelet/glow/v2/ui"
|
||||
"github.com/charmbracelet/glow/v2/utils"
|
||||
"charm.land/glow/v3/ui"
|
||||
"charm.land/glow/v3/utils"
|
||||
"github.com/caarlos0/env/v11"
|
||||
"github.com/charmbracelet/log"
|
||||
gap "github.com/muesli/go-app-paths"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ import (
|
|||
"charm.land/bubbles/v2/viewport"
|
||||
tea "charm.land/bubbletea/v2"
|
||||
"charm.land/glamour/v2"
|
||||
"charm.land/glow/v3/utils"
|
||||
"charm.land/lipgloss/v2"
|
||||
"github.com/atotto/clipboard"
|
||||
"github.com/charmbracelet/glow/v2/utils"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/fsnotify/fsnotify"
|
||||
runewidth "github.com/mattn/go-runewidth"
|
||||
|
|
|
|||
2
ui/ui.go
2
ui/ui.go
|
|
@ -9,7 +9,7 @@ import (
|
|||
"time"
|
||||
|
||||
tea "charm.land/bubbletea/v2"
|
||||
"github.com/charmbracelet/glow/v2/utils"
|
||||
"charm.land/glow/v3/utils"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/muesli/gitcha"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue