MyST-NB
MyST-NB copied to clipboard
Parse and execute ipynb files in Sphinx
updates: - [github.com/asottile/pyupgrade: v2.38.2 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0) - [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0) - [github.com/pre-commit/mirrors-mypy: v0.981 → v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982)
Some lines were added to mystnb.css to add scroll bars with tags: 'output_scroll', 'scroll-output' and 'scroll-input'. The lines implemented are similar to the paragraph in https://github.com/executablebooks/sphinx-book-theme/blob/eb1b6baf098b27605e8f2b7b2979b17ebf1b9540/src/sphinx_book_theme/assets/styles/extensions/_myst-nb.scss#L21. The only difference is...
### Context I'm trying to convert from nbsphinx to myst-nb, but am impeded by a few features that we have come to rely on for nbsphinx. One important one is...
### Context The executable books project has nice css for code cells, but this doesn't carry over when using myst-nb in other themes like Furo. ### Proposal Add a bit...
### Context The MyST-NB tool rely on MyST parser and support some pre-defined extensions. The markdown-it-py parser let it possible for user to create custom extensions, MyST inherit from this...
As per https://nbsphinx.readthedocs.io/en/0.5.1/code-cells.html#Code-Cells, it would be nice to have the option of including the cell prefixes `[1]: ` (or in a format specified in the conf.py) @akhmerov I don't think...
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.5.0) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.10.1) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0)
Fixes #522 I’m not super interested in getting this to the finish line, so please feel free to take it over and change it in any way you see fit....
### Describe the bug **context** When including a plot in a jupyter notebook, mystnb renders it way larger than it appears in the jupyter notebook. **expectation** Plot sizes between the...
### Describe the bug Sphinx uses gettext for internationalization: https://www.sphinx-doc.org/en/master/usage/advanced/intl.html With this workflow, when translations are provided for notebooks, MyST-NB fails with a `nbformat.reader.NotJSONError`: ```bash python -m sphinx -T -E...