Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandoc 3.0 compatablity #1108

Closed
mroeschke opened this issue Jul 20, 2023 · 3 comments
Closed

pandoc 3.0 compatablity #1108

mroeschke opened this issue Jul 20, 2023 · 3 comments

Comments

@mroeschke
Copy link

xref #886

pandoc removed the deprecated --atx-headers option in 3.0 https://pandoc.org/releases.html#pandoc-3.0-2023-01-18, and since this is hardcoded in the conversion juptext will fail with pandoc 3.0

Unknown option --atx-headers.
Try pandoc --help for more information.
Traceback (most recent call last):
...
  File "...lib/python3.10/site-packages/jupytext/pandoc.py", line 92, in md_to_notebook
    pandoc(
  File "...python3.10/site-packages/jupytext/pandoc.py", line 35, in pandoc
    raise PandocError(
jupytext.pandoc.PandocError: pandoc exited with return code 6
@mwouts
Copy link
Owner

mwouts commented Jul 28, 2023

Thank you @mroeschke for reporting this. I see #1099 that should solve this issue - I'll keep you posted.

@mwouts
Copy link
Owner

mwouts commented Jul 30, 2023

I have merged the linked PR, and I will release jupytext==1.15.0 soon

@mwouts mwouts closed this as completed Jul 30, 2023
@mroeschke
Copy link
Author

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants