mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Document default word wrap of 80 in readme (#162)
This commit is contained in:
@@ -46,7 +46,7 @@ import "github.com/charmbracelet/glamour"
|
||||
r, _ := glamour.NewTermRenderer(
|
||||
// detect background color and pick either the default dark or light theme
|
||||
glamour.WithAutoStyle(),
|
||||
// wrap output at specific width
|
||||
// wrap output at specific width (default is 80)
|
||||
glamour.WithWordWrap(40),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user