Last active
March 1, 2023 03:04
-
-
Save smhr/75790a2b74f8f3d1c4f4c5cefafc5a7c to your computer and use it in GitHub Desktop.
Convert all markdown files to ipynb notebook using jupytext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jupytext --set-formats ipynb,md --sync ./first_test.ipynb ## sync a notebook with md | |
jupytext --to ipynb first_test.md ## make notebook from md | |
find . -type f -name "*.md" | xargs jupytext --to ipynb ## find all md files in the current dir and make their notebooks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment