diff options
author | Kolen Cheung <christian.kolen@gmail.com> | 2021-09-10 18:35:22 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-10 21:11:28 -0700 |
commit | c66cedaa7137f1f731677b13e4b883be02573b9e (patch) | |
tree | acb54ab8ec5e3acaa8c6e245d08486307a37e61d /src/Text/Pandoc/Citeproc/Data.hs | |
parent | 17092454c5ba0e16f26b8787e6a9b9c8a35b7b67 (diff) | |
download | pandoc-c66cedaa7137f1f731677b13e4b883be02573b9e.tar.gz |
fix!(ipynb writer): improve round trip identity
for raw cell output
BREAKING CHANGE:
The Jupyter ecosystem, including nbconvert, lab and notebook,
deviated from their own spec in nbformat,
where they used the key `raw_mimetype` instead of `format`.
Moreover, the mime-type of rst used in Jupyter
deviated from that suggested by
https://docutils.sourceforge.io/FAQ.html
and is defined as `text/restructuredtext`
when chosen from "Raw NBConvert Format" in Jupyter.
So while this is backward-compatible,
it should matches the real world usage better,
hence improving the round-trip "identity" in raw-cell.
See #229, jupyter/nbformat#229.
Diffstat (limited to 'src/Text/Pandoc/Citeproc/Data.hs')
0 files changed, 0 insertions, 0 deletions