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

Cannot use regular Jupytext markdown notebooks #304

Open
choldgraf opened this issue Feb 28, 2021 · 1 comment
Open

Cannot use regular Jupytext markdown notebooks #304

choldgraf opened this issue Feb 28, 2021 · 1 comment
Labels
bug Something isn't working 🏷️ sphinx extension Related to the Sphinx extension

Comments

@choldgraf
Copy link
Member

choldgraf commented Feb 28, 2021

In executablebooks/meta#272 (comment) @parmentelat noted that it wasn't possible to use non-MyST markdown notebooks from Jupytext. For example, the following configuration:

nb_custom_formats = {
    ".md": ["jupytext.reads", {"fmt": "markdown"}],
}

raises this error:

Extension error:
source_suffix '.md' is already registered
@choldgraf choldgraf added the bug Something isn't working label Feb 28, 2021
@choldgraf choldgraf reopened this Feb 28, 2021
@juhuebner
Copy link
Contributor

Would it be possible to opt-out the registration of the default suffixes here if needed, since it is easy to get them into the sphinx config but hard out again?

@choldgraf choldgraf added the 🏷️ sphinx extension Related to the Sphinx extension label May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏷️ sphinx extension Related to the Sphinx extension
Projects
None yet
Development

No branches or pull requests

2 participants