A simple Python script that converts Markdown files to IPython Notebook (.ipynb) format. Code blocks are placed in code cells, while other text is placed in Markdown cells.
python markdown_to_ipynb.py <markdown_file_or_folder> [-o <ipynb_file>]
<markdown_file_or_folder> Input Markdown file or folder
-o, --output Output IPython Notebook file or folder (default: <markdown_file_or_folder>)
-y, --yes Do not ask for confirmation (default: False)
-v, --version Show version
-h, --help Show help
-u, --usage Show usage
python markdown_to_ipynb.py test.md
python markdown_to_ipynb.py test.md -o test.ipynb
python markdown_to_ipynb.py test.md --output test.ipynb
python markdown_to_ipynb.py ./markdown/
python markdown_to_ipynb.py ./ -o ./ipynb/ -y