diff options
author | WieeRd <wowluke@naver.com> | 2022-07-16 18:41:56 +0900 |
---|---|---|
committer | Christian Muehlhaeuser <muesli@gmail.com> | 2023-01-23 17:41:06 +0100 |
commit | 19732a63035e316e3079d15030a573e89d7115cf (patch) | |
tree | 9bc9ac34810d6f941812b539e6632eef63ecb777 | |
parent | 6543979ed18616ee16f71597618bf02c5ef42de9 (diff) |
fix: support hard line breaks (charmbracelet#212)v1.5.0
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |