diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-01-13 07:56:55 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-22 21:45:59 -0800 |
commit | 395ea03069167568f8fccb018c794bd43a787b94 (patch) | |
tree | 6b42b2f5daec10b5f5bc5e62b42efc88f7a1053b /pandoc.cabal | |
parent | 5ddd7b121e1aea061b3e7b831dabbd13311929ff (diff) | |
download | pandoc-395ea03069167568f8fccb018c794bd43a787b94.tar.gz |
Support ipynb (Jupyter notebook) as input and output format.
[API change]
* Depend on ipynb library.
* Add `ipynb` as input and output format.
* Added Text.Pandoc.Readers.Ipynb (supports both nbformat v3 and v4).
* Added Text.Pandoc.Writers.Ipynb (supports nbformat v4).
* Added ipynb readers and writers to T.P.Readers,
T.P.Writers, and T.P.Extensions. Register the
file extension .ipynb for this format.
* Add `PandocIpynbDecodingError` constructor to Text.Pandoc.Error.Error.
* Note: there is no template for ipynb.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index c7d61cde8..f8852c0f5 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -20,14 +20,14 @@ description: Pandoc is a Haskell library for converting from one markup (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS, MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Haddock markup, OPML, - Emacs Org-Mode, Emacs Muse, txt2tags, - Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man, - and Textile, and it can write Markdown, reStructuredText, - XHTML, HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, - OpenDocument, ODT, Word docx, PowerPoint pptx, - RTF, MediaWiki, DokuWiki, ZimWiki, Textile, + Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter + notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, + roff man, and Textile, and it can write Markdown, + reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, + JATS, OPML, TEI, OpenDocument, ODT, Word docx, + PowerPoint pptx, RTF, MediaWiki, DokuWiki, ZimWiki, Textile, roff man, roff ms, plain text, Emacs Org-Mode, - AsciiDoc, Haddock markup, EPUB (v2 and v3), + AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML, Muse, LaTeX beamer slides, and several kinds of HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js). @@ -398,7 +398,8 @@ library http-types >= 0.8 && < 0.13, case-insensitive >= 1.2 && < 1.3, unicode-transforms >= 0.3 && < 0.4, - HsYAML >= 0.1.1.1 && < 0.2 + HsYAML >= 0.1.1.1 && < 0.2, + ipynb >= 0.1 && < 0.2 if impl(ghc < 8.0) build-depends: semigroups == 0.18.*, -- basement 0.0.8 and foundation 0.0.21, transitive @@ -470,12 +471,14 @@ library Text.Pandoc.Readers.Man, Text.Pandoc.Readers.FB2, Text.Pandoc.Readers.DokuWiki, + Text.Pandoc.Readers.Ipynb, Text.Pandoc.Writers, Text.Pandoc.Writers.Native, Text.Pandoc.Writers.Docbook, Text.Pandoc.Writers.JATS, Text.Pandoc.Writers.OPML, Text.Pandoc.Writers.HTML, + Text.Pandoc.Writers.Ipynb, Text.Pandoc.Writers.ICML, Text.Pandoc.Writers.LaTeX, Text.Pandoc.Writers.ConTeXt, |