diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-09 14:53:22 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-09 14:53:22 -0800 |
commit | ec11f8d9923f7f0f2154e921c97ea8c86b2e17ba (patch) | |
tree | 8992393c720fe393914adce996e727058a3412f1 /src/Text/Pandoc/Writers | |
parent | 5afde8dc767bd25cbde7a3dcbdad72b21cb1eac6 (diff) | |
download | pandoc-ec11f8d9923f7f0f2154e921c97ea8c86b2e17ba.tar.gz |
ipynb writer - ensure final newline.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/Ipynb.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Ipynb.hs b/src/Text/Pandoc/Writers/Ipynb.hs index 509e60aa0..a268efa01 100644 --- a/src/Text/Pandoc/Writers/Ipynb.hs +++ b/src/Text/Pandoc/Writers/Ipynb.hs @@ -62,6 +62,7 @@ writeIpynb opts d = do notebook <- pandocToNotebook opts d return $ TE.decodeUtf8 . BL.toStrict . encodePretty' defConfig{ confIndent = Spaces 1, + confTrailingNewline = True, confCompare = keyOrder [ "cells", "nbformat", "nbformat_minor", "cell_type", "output_type", |