Skip to content

Commit

Permalink
Remove default 4-column margin
Browse files Browse the repository at this point in the history
  • Loading branch information
silby committed Mar 26, 2024
1 parent 69c2c68 commit c0b8fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/ANSI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pandocToANSI opts (Pandoc meta blocks) = do
let hangWidth = foldr (max . D.offset) 0 marks
let notepretty | not (null notes) = D.cblock width hr $+$ hangMarks hangWidth marks notes
| otherwise = D.empty
let main = D.nest 4 $ body $+$ notepretty
let main = body $+$ notepretty
let context = defField "body" main
$ defField "titleblock" title metadata
return $
Expand Down

0 comments on commit c0b8fa3

Please sign in to comment.