Skip to content

Commit 07f6bde

Browse files
committed
chore: use ascii style for markdown renders
1 parent b07c643 commit 07f6bde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/migration/list/list.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"strconv"
88

99
"github.com/charmbracelet/glamour"
10+
"github.com/charmbracelet/glamour/styles"
1011
"github.com/go-errors/errors"
1112
"github.com/jackc/pgconn"
1213
"github.com/jackc/pgx/v4"
@@ -73,7 +74,7 @@ func makeTable(remoteMigrations, localMigrations []string) string {
7374

7475
func RenderTable(markdown string) error {
7576
r, err := glamour.NewTermRenderer(
76-
glamour.WithAutoStyle(),
77+
glamour.WithStandardStyle(styles.AsciiStyle),
7778
glamour.WithWordWrap(-1),
7879
)
7980
if err != nil {

0 commit comments

Comments
 (0)