将ipynb文件转化为markdown文件/convert jupyter *.ipynb file to markdown files
Github Actions for Container ipynb to markdown
- name: convert jupyter *.ipynb file to markdown
uses: x-actions/python3-nbctl@v1
with:
script: >
find <path> -type f -name "*.ipynb" | grep -v ".ipynb_checkpoints" | xargs -I{} nbctl --input {} --force --debug
- local run
# install
pip3 install -r requirements.txt
python3 setup.py install
# or
pip3 install python3-nbctl
- help
nbctl --help