Skip to content

Commit

Permalink
add --ipynb-output=html
Browse files Browse the repository at this point in the history
  • Loading branch information
ickc committed Sep 2, 2021
1 parent 57445f3 commit e2c6801
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_pandoc_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def setUp(self):
self.text_ref = f.read()

def test_pandoc_filter(self):
doc = panflute.convert_text(self.text, input_format="ipynb", standalone=True)
doc = panflute.convert_text(
self.text, input_format="ipynb", standalone=True, extra_args=["--ipynb-output=html"]
)
main(doc)
text = panflute.convert_text(doc, input_format="panflute", output_format="rst", standalone=True)
assert text == self.text_ref.strip()

0 comments on commit e2c6801

Please sign in to comment.