ipynb writer - ensure final newline.
This commit is contained in:
parent
5afde8dc76
commit
ec11f8d992
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue