Skip to content

Commit

Permalink
fix: support hard line breaks (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
WieeRd authored and muesli committed Jan 23, 2023
1 parent 6543979 commit 19732a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ func executeCLI(cmd *cobra.Command, src *source, w io.Writer) error {
gs,
glamour.WithWordWrap(int(width)),
glamour.WithBaseURL(baseURL),
glamour.WithPreservedNewLines(),
)
if err != nil {
return err
Expand Down

0 comments on commit 19732a6

Please sign in to comment.