post.md: post.ipynb poetry run jupyter nbconvert --no-input --template=blogmd --to=markdown post.ipynb to_blog: post.md cp post.md ../natronics.org/src/posts/magnetometer_calibration.md mkdir -p ../natronics.org/src/2019/magnetometer_calibration/img cp img/* ../natronics.org/src/2019/magnetometer_calibration/img cp -r post_files ../natronics.org/src/2019/magnetometer_calibration/ clean: rm -rf post_files rm post.md