Skip to content

What is an example of a MyST-NB example that is not a Jupyterbook #859

Answered by NickleDave
ketozhang asked this question in Q&A
Discussion options

You must be logged in to vote

You can use MyST-NB even if you're not using jupyter book.

For example, if you have .md files in your documentation that you want to execute as if they were jupyter notebooks (even if you're not writing something that is very book-like).

Here is an example:
https://raw.githubusercontent.com/vocalpy/crowsetta/main/doc/scripts/raven-chronister-et-al-2021.md

I use jupytext so I can edit and execute this file as a Jupyter notebook when I'm developing, but keep it in the .md format.
Then when I build I use myst-nb instead of myst_parser

Does that help?
Do you think the documentation should state that explicitly?
I'm just a user, not a dev, but just curious about what you think would help.

I ki…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ketozhang
Comment options

Answer selected by ketozhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants