Skip to content

Commit 19732a6

Browse files
WieeRdmuesli
authored andcommitted
fix: support hard line breaks (#212)
1 parent 6543979 commit 19732a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ func executeCLI(cmd *cobra.Command, src *source, w io.Writer) error {
271271
gs,
272272
glamour.WithWordWrap(int(width)),
273273
glamour.WithBaseURL(baseURL),
274+
glamour.WithPreservedNewLines(),
274275
)
275276
if err != nil {
276277
return err

0 commit comments

Comments
 (0)