转换说明
- 执行命名进行转化;
- 文件名有空格推荐:“LinerR.ipynb”方式;
- LinerR.ipynb 中若是有图片,会自动保存至当前LinerR_files目录下;
- 注意图片相关文件要一起携带过去,否则无法显示;
转换
jupyter nbconvert --to markdown LinerR.ipynb
[NbConvertApp] Converting notebook LinerR.ipynb to markdown
[NbConvertApp] Support files will be in LinerR_files\
[NbConvertApp] Making directory LinerR_files
[NbConvertApp] Making directory LinerR_files
[NbConvertApp] Writing 4240 bytes to LinerR.md
批量转换
jupyter nbconvert --to markdown *.ipynb