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

Use --markdown-headings=atx option in pandoc call #5

Merged
merged 1 commit into from Oct 4, 2023

Conversation

rburing
Copy link

@rburing rburing commented Sep 13, 2023

The --atx-headers option is deprecated since pandoc 2.11.2 (2020-11-19) and was removed in pandoc 3.0 (2023-01-18).

This small change makes the instructions in https://ask.sagemath.org/question/40136/file-with-extension-sws/ work using Sage 10.0 on Ubuntu 22.04.

The --atx-headers option is deprecated since pandoc 2.11.2 (2020-11-19)
and was removed in pandoc 3.0 (2023-01-18).
@AliciaHu
Copy link

AliciaHu commented Oct 4, 2023

I have met similar problems as well.
rst2ipynb appendix.rst -o appendix.ipynb
Unknown option --atx-headers.
Try pandoc --help for more information.
pandoc failed: 6

@nthiery
Copy link
Owner

nthiery commented Oct 4, 2023

Thank you for your contribution! I am not using rst2ipynb these days and we
don't have tests. I'll merge anyway since this is a small change and that you
must have tested on your side.

@nthiery nthiery merged commit 17cee93 into nthiery:master Oct 4, 2023
@nthiery
Copy link
Owner

nthiery commented Oct 4, 2023

@AliciaHu, could you confirm that this fixes the problem for you as well?

The next step will be to republish on pypi.

@rburing rburing deleted the headings_are_atx branch October 5, 2023 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants