1.6.0 (2020-09-01)
Added
- New option
hide_notebook_metadatato encapsulate the notebook metadata in an HTML comment (#527) - New option
root_level_metadata_as_raw_cell. Set it toFalseif you don't want to see root level metadata
of R Markdown notebooks as a raw cell in Jupyter (#415) - New option
doxygen_equation_markersto translate Markdown equations into Doxygen equations (#517) - New option
custom_cell_magicsto comment out cells starting with user-specific cell magics (#513) - Documented how to use
isorton notebooks (#553) jupytext notebook.ipynb --to filename.pywill warn that--tois used in place of--output.jupytext --set-formats filename.pywill suggest to use--syncinstead of--set-formats(#544)- Warn if 'Include Metadata' is off when saving text files in Jupyter (#561)
- Test that notebooks paired through a configuration file are left unmodified (#598)
- Test that metadata filters in the configuration files are taken into account when using
jupytext --to(#543) - New argument
--run-pathto execute the notebooks at the desired location (#595) - Activated GitHub code scanning alerts
Changed
- Jupytext now depends on
markdown-it-py(Python 3.6 and above) and always features the MyST-Markdown format,
thanks to Chris Sewell (#591) - The
md:mystandmd:pandocare always included in the Jupytext formats, and an informative runtime
error will occur if the required dependencies, resp.markdown-it-pyandpandoc, are not installed. (#556) - The
# %%cell marker has the same indentation as the first line in the cell (#562) - Jupytext is now installed from source on MyBinder to avoid cache issues (#567)
- The tests that execute a notebook are now skipped on Windows to avoid timeout issues (#489)
Fixed
- Only scripts can have an encoding comment, not Markdown or R Markdown files (#576)
- Spaces in
--pipecommands are supported (#562) - Bash commands starting with special characters are now correctly detected, thanks to Aaron Gokaslan (#587)
- MyST Markdown files are recognized as such even if MyST-Markdown is not available (#556)
- Build JupyterLab with
dev-build=Falseandminimize=Falseon mybinder to avoid build errors - Configured coverage targets in
codecov.yml