rsokl / Learning_Python

Source material for Python Like You Mean it
https://www.pythonlikeyoumeanit.com/
Other
165 stars 54 forks source link

md -[jupytext 1.1.0]-> ipynb -[jupytext 1.3.0rc1]-> md #117

Closed rsokl closed 4 years ago

rsokl commented 4 years ago

This PR updates the jupytext version for encoding all of the jupytext-markdown documents.

@alexding123 you will want to upgrade your markdown files as well to keep in sync. I have written some tooling to do so. This repo now has an installable python package called plymi. Once you install it, you can simply upgrade to jupytext==1.3.0rc2 and run:

import plymi
from pathlib import Path
root = Path("./Learning_Python/").absolute()
plymi.convert_all_markdown_to_markdown(root)

Assuming that you are using the same directory / notebook names as me, this will upgrade all of your notebooks.