fix: support hard line breaks (charmbracelet#212)

This commit is contained in:
WieeRd 2022-07-16 18:41:56 +09:00 committed by Christian Muehlhaeuser
commit 19732a6303

View file

@ -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