Word-wrap text at 100 chars per default

The default can be overwritten by the user:

./gold -w 80
This commit is contained in:
Christian Muehlhaeuser
2019-11-25 06:44:10 +01:00
parent 937e525993
commit 4c529d72b9
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ require (
github.com/alecthomas/chroma v0.7.0
github.com/logrusorgru/aurora v0.0.0-20191017060258-dc85c304c434
github.com/mattn/go-isatty v0.0.10
github.com/mitchellh/go-wordwrap v1.0.0
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/spf13/cobra v0.0.5
gopkg.in/russross/blackfriday.v2 v2.0.0