git.iko.soy/typeable/pandoc
on master help sign in
ipynb writer - ensure final newline.
commitec11f8d9923f7f0f2154e921c97ea8c86b2e17ba authorJohn MacFarlane <jgm@berkeley.edu> dateSat 9 Feb 2019, 14:53 (8 years ago) parent5afde8d
1 file changed+1
src/Text/Pandoc/Writers/Ipynb.hs+1
src/Text/Pandoc/Writers/Ipynb.hs+1
@@ -62,6 +62,7 @@ writeIpynb opts d = do
6262 notebook <- pandocToNotebook opts d
6363 return $ TE.decodeUtf8 . BL.toStrict . encodePretty' defConfig{
6464 confIndent = Spaces 1,
65+ confTrailingNewline = True,
6566 confCompare = keyOrder
6667 [ "cells", "nbformat", "nbformat_minor",
6768 "cell_type", "output_type",