diff --git a/README.md b/README.md index dd82cc9..fa8ab3b 100644 --- a/README.md +++ b/README.md @@ -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), ) diff --git a/examples/custom_renderer/main.go b/examples/custom_renderer/main.go index e4d3a08..e92b0ae 100644 --- a/examples/custom_renderer/main.go +++ b/examples/custom_renderer/main.go @@ -9,11 +9,7 @@ import ( func main() { in := `# Custom Renderer -Word-wrapping will occur when lines exceed the limit of 40 characters. Just so -you know: Glamour's default word-wrapping limit is set to 100 characters per -line. - -Bye! +Word-wrapping will occur when lines exceed the limit of 40 characters. ` r, _ := glamour.NewTermRenderer(