mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Missed condition to save display_data
Some additional conditional code to save images embedded in notebooks using nbformat v4.
This commit is contained in:
parent
228d97f397
commit
f3ce2fc66b
1 changed files with 2 additions and 1 deletions
|
@ -995,7 +995,8 @@ prettified text thus be used instead of HTML type."
|
|||
((equal prop :stream) (progn (push value new-output)
|
||||
(push :name new-output)))
|
||||
|
||||
((ein:output-property-p prop)
|
||||
((and (equal otype "display_data")
|
||||
(ein:output-property-p prop))
|
||||
(let ((new-prop (cdr (ein:output-property-p prop))))
|
||||
(push (list new-prop (list value)) new-output)
|
||||
(push :data new-output)))
|
||||
|
|
Loading…
Add table
Reference in a new issue