You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than using nbconvert (and hence jinja) to convert notebooks, it may be conceptually nicer to convert the notebook into the pandoc AST format, then iteratively apply (panflute) filters to the AST, before output.
Note pandoc (since v2.7) does already have notebook conversion. However, this doesn't handle code outputs very well, and also does not preserve cell and output level metadata.
The conversion should be quite simple as it is effectively a json -> json conversion, we would just need to handle:
Specifying an initial preference order for output mimetypes
Extracting images etc (from outputs and attachments) to a folder-like object (either on-disk or virtual)
The text was updated successfully, but these errors were encountered:
Rather than using nbconvert (and hence jinja) to convert notebooks, it may be conceptually nicer to convert the notebook into the pandoc AST format, then iteratively apply (panflute) filters to the AST, before output.
Note pandoc (since v2.7) does already have notebook conversion. However, this doesn't handle code outputs very well, and also does not preserve cell and output level metadata.
The conversion should be quite simple as it is effectively a
json -> json
conversion, we would just need to handle:The text was updated successfully, but these errors were encountered: